Update window.ts

This commit is contained in:
Eugene Pankov 2019-10-26 21:11:27 +02:00
parent ab55650be8
commit 31ecf46f12

View file

@ -49,7 +49,7 @@ export class Window {
},
frame: false,
show: false,
backgroundColor: '#00000000'
backgroundColor: '#00000000',
}
if (this.windowBounds) {
@ -80,7 +80,7 @@ export class Window {
this.window = new BrowserWindow(bwOptions)
this.window.once('ready-to-show', () => {
if (process.platform === 'darwin') {
this.window.setVibrancy('dark')
this.window.setVibrancy('window')
} else if (process.platform === 'win32' && (configData.appearance || {}).vibrancy) {
this.setVibrancy(true)
}