mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-06 07:56:56 +08:00
Fixed: not darwin platform setting window bug
This commit is contained in:
+2
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user