Closed ScrubN closed 1 month ago
By setting the dark titlebar during SourceInitialized, we don't need to force a repaint by spawning a virtually invisible window.
SourceInitialized
Forcing a repaint is still necessary to change the titlebar theme after first present though, such as reacting to system theme changes.
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.