-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Fix a crash when showTabsInTitlebar:false #13561
Conversation
nonClientWindow->SetTitlebarBackground(_logic.TitlebarBrush()); | ||
if (_useNonClientArea) | ||
{ | ||
auto nonClientWindow{ static_cast<NonClientIslandWindow*>(_window.get()) }; |
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.
Now here's a silly question . . . would it be better to implement SetTitlebarBackground
as a virtual on IslandWindow to enable future customizability? Or, would that cause us to erroneously change the titlebar background color when the user didn't want it to change?
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.
it's not titlebar.background
for a reason 😉 I dunno if there's a way to set the titlebar part of the frame color separate from the rest of the borders in the frame, and it's not a can of worms I want to investigate RN.
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: |
Does what it says on the tin.