fixed disableVibrancyWhileDragging check

This commit is contained in:
Eugene Pankov 2022-04-05 09:21:04 +02:00
parent a2975f5234
commit f85294e603
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -415,7 +415,7 @@ export class Window {
this.window.webContents.on('new-window', event => event.preventDefault())
ipcMain.on('window-set-disable-vibrancy-while-dragging', (_event, value) => {
this.disableVibrancyWhileDragging = value && this.configStore.hacks.disableVibrancyWhileDragging
this.disableVibrancyWhileDragging = value && this.configStore.hacks?.disableVibrancyWhileDragging
})
let moveEndedTimeout: any = null