Fix Window light theme detection being backwards#2378
Fix Window light theme detection being backwards#2378xStrom merged 3 commits intolinebender:masterfrom Insprill:fix/window-theme
Conversation
In the Windows backend, when dark mode was enabled, should_use_light_theme would return true, and vice-versa. This caused the title bar's color to be the opposite of the system theme. This fixes that behavior so the title bar matches the system theme.
|
This doesn't seem right to me. I'm using the dark theme and that registry value is Are you claiming that if the If so, does this match the registry value you see on your setup? |
|
Apologies, after looking at it again, it's where the theme is set that's backward. |
xStrom
left a comment
There was a problem hiding this comment.
Aha, that does seem like a bug. I confirmed that this fixes the issue. 🎉
Thanks!
In the Windows backend, when dark mode was enabled,
should_use_light_themewould return true, and vice-versa. This caused the title bar's color to be the opposite of the system theme. This fixes that behavior so the title bar matches the system theme.