Browse Source

fix deprecation

Eugene Pankov 2 years ago
parent
commit
a1cb0ff223
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/window.ts

+ 1 - 1
app/lib/window.ts

@@ -460,7 +460,7 @@ export class Window {
         this.window.on('resize', onBoundsChange)
 
         ipcMain.on('window-set-traffic-light-position', (_event, x, y) => {
-            this.window.setTrafficLightPosition({ x, y })
+            this.window.setWindowButtonPosition({ x, y })
         })
 
         ipcMain.on('window-set-opacity', (_event, opacity) => {