mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
Fixed: not darwin platform setting window bug
This commit is contained in:
parent
415bdd31f3
commit
372f71bcd9
@ -203,10 +203,11 @@ const createSettingWindow = () => {
|
|||||||
backgroundThrottling: false
|
backgroundThrottling: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (process.platform === 'win32') {
|
if (process.platform !== 'darwin') {
|
||||||
options.show = true
|
options.show = true
|
||||||
options.frame = false
|
options.frame = false
|
||||||
options.backgroundColor = '#3f3c37'
|
options.backgroundColor = '#3f3c37'
|
||||||
|
options.transparent = false
|
||||||
}
|
}
|
||||||
settingWindow = new BrowserWindow(options)
|
settingWindow = new BrowserWindow(options)
|
||||||
|
|
||||||
|
@ -19,10 +19,11 @@ const createRenameWindow = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.platform === 'win32') {
|
if (process.platform !== 'darwin') {
|
||||||
options.show = true
|
options.show = true
|
||||||
options.backgroundColor = '#3f3c37'
|
options.backgroundColor = '#3f3c37'
|
||||||
options.autoHideMenuBar = true
|
options.autoHideMenuBar = true
|
||||||
|
options.transparent = false
|
||||||
}
|
}
|
||||||
|
|
||||||
const window = new BrowserWindow(options)
|
const window = new BrowserWindow(options)
|
||||||
|
Loading…
Reference in New Issue
Block a user