diff options
author | Sibren Vasse | 2020-12-10 19:39:29 +0100 |
---|---|---|
committer | Sibren Vasse | 2020-12-10 19:40:17 +0100 |
commit | a9cacc8f32ccf7a4dfd96b9500721bec8c325215 (patch) | |
tree | 0989e641ee81d92143483635439aee088106161c /menu-bar.patch | |
parent | bc1732284e2e02c31240f22c9bbc73aa0cc0df06 (diff) | |
download | aur-a9cacc8f32ccf7a4dfd96b9500721bec8c325215.tar.gz |
v4.29.0
Diffstat (limited to 'menu-bar.patch')
-rw-r--r-- | menu-bar.patch | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/menu-bar.patch b/menu-bar.patch index 50d7b51735d4..75b0286e78a4 100644 --- a/menu-bar.patch +++ b/menu-bar.patch @@ -1,11 +1,13 @@ +diff --git a/build/main.js b/build/main.js +index 188b186..21b0b54 100644 --- a/build/main.js +++ b/build/main.js -@@ -4541,6 +4541,8 @@ - .setAutoResize({ width: !0, height: !0 })) - : this.appService.setWindow(this.window, void 0), - this.appService.setUserAgent(), -+ this.window.setAutoHideMenuBar(true), -+ this.window.setMenuBarVisibility(false), - isPlatform(PLATFORM_DARWIN) +@@ -4537,6 +4537,8 @@ module.exports = (function (modules) { + mainView.setAutoResize({ width: !0, height: !0 }); + } else this.appService.setWindow(this.window, void 0); + this.appService.setUserAgent(), ++ this.window.setAutoHideMenuBar(true), ++ this.window.setMenuBarVisibility(false), + isPlatform(PLATFORM.DARWIN) ? this.window.on("moved", () => { this.windowState.save(); |