This commit is contained in:
Eugene Pankov 2020-06-14 17:26:57 +02:00
parent d371bf2f41
commit 3aba7c9b93

View file

@ -133,7 +133,7 @@ export class Window {
if (process.platform === 'win32') {
if (parseFloat(os.release()) >= 10) {
glasstron.update(this.window, {
windows: { blurType: enabled ? ((type === 'fluent') ? 'acrylic' : 'blurbehind') : null },
windows: { blurType: enabled ? type === 'fluent' ? 'acrylic' : 'blurbehind' : null },
})
} else {
DwmEnableBlurBehindWindow(this.window, enabled)