mirror of
https://github.com/Eugeny/tabby.git
synced 2025-03-01 15:06:27 +08:00
Update window.ts
This commit is contained in:
parent
ab55650be8
commit
31ecf46f12
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user