-
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
Make sure to update the maximize button's visual state on launch #5988
Conversation
// GH#3440 - When the titlebar is loaded (officially added to our UI tree), | ||
// then make sure to update it's visual state to reflect if we're in the | ||
// maximized state on launch. | ||
_titlebar.Loaded([this](auto&&, auto&&) { _OnMaximizeChange(); }); |
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.
Scary that Loaded hasn't happened yet! Guess it makes sense tho.
Hello @DHowett! 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 (
|
…rosoft#5988) ## Summary of the Pull Request This is an enormously trivial nit - when we launch maximized, we don't draw the maximize button in the "restore" state. This PR changes the terminal to manually update the Maximize button on launch, once the titlebar is added to the UI tree. ## PR Checklist * [x] Closes microsoft#3440 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated
🎉 Handy links: |
## Summary of the Pull Request This is an enormously trivial nit - when we launch maximized, we don't draw the maximize button in the "restore" state. This PR changes the terminal to manually update the Maximize button on launch, once the titlebar is added to the UI tree. ## PR Checklist * [x] Closes #3440 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated (cherry picked from commit 2af722b)
🎉 Handy links: |
Summary of the Pull Request
This is an enormously trivial nit - when we launch maximized, we don't draw the maximize button in the "restore" state.
This PR changes the terminal to manually update the Maximize button on launch, once the titlebar is added to the UI tree.
PR Checklist