-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add adjustOpacity
action
#12092
Add adjustOpacity
action
#12092
Conversation
…at can't be right
… a good enough start
…hing. Idk, I wrote this a few days ago, I just need this clone for testing so `git commit`
…ut UpdateAppearance ends up getting called immediately after so it blows it away. Dustin had a crazy idea...
and as soon ad I typed that out I realized that WINRT_PROPERTY already has setters and setting an optional override gets me nothing sure I could stealth the new value in underneath the runtime value, so reloading the settings doesn't reset font size, colors, etc I could but it sure does feel like overkill for "refactor but don't change anything"
…backgrounds and now they're totally transparent
…anup of these guys.
discussion: we're defaulting to |
…justOpacity # Conflicts: # doc/cascadia/profiles.schema.json # src/cascadia/TerminalSettingsModel/ActionAndArgs.cpp # src/cascadia/TerminalSettingsModel/AllShortcutActions.h # src/cascadia/TerminalSettingsModel/Resources/en-US/Resources.resw
@check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentdeconstructed devicefamily guardxfg pgorepro pgort PGU Timeline timelines xfgTo accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:microsoft/terminal.git repository
✏️ Contributor please read thisBy default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉 🗜️ If you see a bunch of garbageIf it relates to a ... well-formed patternSee if there's a pattern that would match it. If not, try writing one and adding it to a Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines. Note that patterns can't match multiline strings. binary-ish stringPlease add a file path to the File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Want to file a follow-up for updating adjustFontSize
? Ideally, that change would be released alongside this one imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, looks good per our discussion in the team meeting on Monday.
|
||
void AdjustOpacity(Int32 Opacity, Boolean relative); | ||
|
||
// You'd think this should just be "Opacity", but UIElement already |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call on leaving this comment.
#9818 notes this. I suppose I can work on that. Easy enough. |
Hello @zadjii-msft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
🎉 Handy links: |
Adds an action which can be used to change the opacity at runtime. This is a follow up to some of the other work I had been doing around opacity and settings previewing at the end of the year.
It's preview-able too, which is neat.
adjustOpacity
MicrosoftDocs/terminal#477