fix: should use fullscreen to control where to place macos window controls (#6351)
This commit is contained in:
7 files changed
+53
-16
No files matched your search
@@ -20,6 +20,10 @@ export const uiHandlers = {
|
||||
const window = await getMainWindow();
|
||||
return window?.isMaximized();
|
||||
},
|
||||
isFullScreen: async () => {
|
||||
const window = await getMainWindow();
|
||||
return window?.isFullScreen();
|
||||
},
|
||||
handleThemeChange: async (_, theme: (typeof nativeTheme)['themeSource']) => {
|
||||
nativeTheme.themeSource = theme;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user