瀏覽代碼

fixed disableVibrancyWhileDragging check

Eugene Pankov 3 年之前
父節點
當前提交
f85294e603
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/lib/window.ts

+ 1 - 1
app/lib/window.ts

@@ -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