mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 17:16:03 +00:00
fixed lint
This commit is contained in:
@@ -88,8 +88,8 @@ export class Window {
|
|||||||
|
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
glasstron.update(this.window, {
|
glasstron.update(this.window, {
|
||||||
linux: {requestBlur: true}
|
linux: { requestBlur: true },
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
this.window.once('ready-to-show', () => {
|
this.window.once('ready-to-show', () => {
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
@@ -150,8 +150,8 @@ export class Window {
|
|||||||
} else {
|
} else {
|
||||||
DwmEnableBlurBehindWindow(this.window, enabled)
|
DwmEnableBlurBehindWindow(this.window, enabled)
|
||||||
}
|
}
|
||||||
}else if(process.platform ==="linux"){
|
}else if(process.platform ==='linux'){
|
||||||
this.window.setBackgroundColor(enabled ? "#00000000" : "#131d27")
|
this.window.setBackgroundColor(enabled ? '#00000000' : '#131d27')
|
||||||
} else {
|
} else {
|
||||||
this.window.setVibrancy(enabled ? 'dark' : null as any) // electron issue 20269
|
this.window.setVibrancy(enabled ? 'dark' : null as any) // electron issue 20269
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user