macos: fix titlebar using bg color on fullscreen exit (#7792)
When using MACOS_USE_BACKGROUND_COLOR_AS_TITLEBAR_COLOR, exiting fullscreen didn't update the titlebar, making it disappear.
This commit is contained in:
1 parent
94fbf53d20
commit
640e1b2fb3
1 file changed
+1
@@ -1116,6 +1116,7 @@ impl WindowInner {
|
||||
current_app.setPresentationOptions_(
|
||||
NSApplicationPresentationOptions::NSApplicationPresentationDefault,
|
||||
);
|
||||
self.update_titlebar_background();
|
||||
},
|
||||
None => unsafe {
|
||||
// Go full screen
|
||||
|
||||
Reference in new issue
Block a user