mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
Merge pull request #6027 from ysc3839/fix-win7-crash
This commit is contained in:
commit
018355ce44
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ export class Window {
|
|||
console.error('Failed to set window blur', error)
|
||||
}
|
||||
} else {
|
||||
DwmEnableBlurBehindWindow(this.window, enabled)
|
||||
DwmEnableBlurBehindWindow(this.window.getNativeWindowHandle(), enabled)
|
||||
}
|
||||
} else if (process.platform === 'linux') {
|
||||
this.window.setBackgroundColor(enabled ? '#00000000' : '#131d27')
|
||||
|
|
Loading…
Reference in a new issue