Skip to content
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

Improve WPF dark titlebar handling #1071

Merged
merged 2 commits into from
May 23, 2024

Conversation

ScrubN
Copy link
Collaborator

@ScrubN ScrubN commented May 23, 2024

By setting the dark titlebar during SourceInitialized, we don't need to force a repaint by spawning a virtually invisible window.

Forcing a repaint is still necessary to change the titlebar theme after first present though, such as reacting to system theme changes.

@ScrubN ScrubN merged commit a26fccd into lay295:master May 23, 2024
1 check passed
@ScrubN ScrubN deleted the less-scuffed-dark-titlebar branch May 23, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant