diff options
author | Sibren Vasse | 2019-11-25 20:03:35 +0100 |
---|---|---|
committer | Sibren Vasse | 2019-11-25 20:07:08 +0100 |
commit | ac6ca7fa0582f025f0bf6737e11d5f5d1c7cc396 (patch) | |
tree | 50f18e4995a5464e2e8d483e3206e74b24a77817 /menu-bar.patch | |
parent | bbb4cdf4e7a90efa0aad48ac160cedc4460d9b4a (diff) | |
download | aur-ac6ca7fa0582f025f0bf6737e11d5f5d1c7cc396.tar.gz |
v4.18.0
Diffstat (limited to 'menu-bar.patch')
-rw-r--r-- | menu-bar.patch | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/menu-bar.patch b/menu-bar.patch index 76b5b8206e69..4cf201b4025c 100644 --- a/menu-bar.patch +++ b/menu-bar.patch @@ -1,10 +1,12 @@ ---- a/build/main.js 2019-08-30 19:55:24.091850904 +0200 -+++ b/build/main.js 2019-08-30 19:57:32.550487630 +0200 -@@ -2589,6 +2589,7 @@ - this._adjustViewToContentSize(), - this.mainView.setAutoResize({ width: !0, height: !0 })), - (this.originalUserAgent = this.getWebContents().getUserAgent()), +diff --git a/build/main.js b/build/main.js +index a229f52..0f1955b 100644 +--- a/build/main.js ++++ b/build/main.js +@@ -4580,6 +4580,7 @@ module.exports = (function(modules) { + .setAutoResize({ width: !0, height: !0 })) + : this.appService.setWindow(this.window, void 0), + this.appService.setUserAgent(), + this.window.setMenuBarVisibility(false), - this.getWebContents().setUserAgent(this.getUserAgent()), - Object(utils.h)(platform.a) - ? this.getWindow().on("moved", () => { + isPlatform(PLATFORM_DARWIN) + ? this.window.on("moved", () => { + this.windowState.save(); |