do frameless first
This commit is contained in:
parent
b6e779822a
commit
d613793dc4
1 changed files with 2 additions and 2 deletions
|
|
@ -78,9 +78,9 @@ if (!IS_VANILLA) {
|
|||
// work around discord unloading when in background
|
||||
options.webPreferences.backgroundThrottling = false;
|
||||
|
||||
if (settings.mainWindowFrameless && isMainWindow) {
|
||||
if (settings.frameless) {
|
||||
options.frame = false;
|
||||
} else if (settings.frameless) {
|
||||
} else if (settings.mainWindowFrameless && isMainWindow) {
|
||||
options.frame = false;
|
||||
} else if (process.platform === "win32" && settings.winNativeTitleBar) {
|
||||
delete options.frame;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue