mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-09 16:21:51 +00:00
Merge pull request #59 from tobspr-games/dengr1065/fullscreen-menu-bug
Fix disappearing window menu on Linux
This commit is contained in:
commit
d998f5a625
@ -29,6 +29,8 @@ export class IpcHandler {
|
||||
}
|
||||
|
||||
private setFullscreen(window: BrowserWindow, _event: IpcMainInvokeEvent, flag: boolean) {
|
||||
window.setFullScreen(flag);
|
||||
if (window.isFullScreen() != flag) {
|
||||
window.setFullScreen(flag);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user