fix: bugs

This commit is contained in:
qier222 2021-03-19 14:46:41 +08:00
parent 7efe109c83
commit 752d7cb482
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
7 changed files with 20 additions and 9 deletions

View file

@ -97,8 +97,8 @@ class Background {
console.log("creating app window");
this.window = new BrowserWindow({
width: this.store.get("window.width") | 1440,
height: this.store.get("window.height") | 840,
width: this.store.get("window.width") || 1440,
height: this.store.get("window.height") || 840,
minWidth: 1080,
minHeight: 720,
titleBarStyle: "hiddenInset",