added native title bar option, added window control position
This commit is contained in:
parent
8e7bb2fd0b
commit
0abef214cf
6 changed files with 60 additions and 7 deletions
|
@ -322,11 +322,19 @@ export class BrowserWindow {
|
|||
} else {
|
||||
this.options.transparent = true;
|
||||
}
|
||||
this.options.autoHideMenuBar = true
|
||||
if(utils.getStoreValue("visual.nativeTitleBar")) {
|
||||
this.options.titleBarStyle = "visible";
|
||||
this.options.frame = true
|
||||
}
|
||||
break;
|
||||
case "linux":
|
||||
this.options.backgroundColor = "#1E1E1E";
|
||||
this.options.autoHideMenuBar = true
|
||||
this.options.frame = true
|
||||
if(utils.getStoreValue("visual.nativeTitleBar")) {
|
||||
this.options.titleBarStyle = "visible";
|
||||
this.options.frame = true
|
||||
}
|
||||
break;
|
||||
case "darwin":
|
||||
this.options.transparent = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue