From a1cb0ff2239f1d4e7809ab4ca277b6b5fb71f319 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 18 Jul 2023 23:17:07 +0200 Subject: [PATCH] fix deprecation --- app/lib/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/window.ts b/app/lib/window.ts index 7db05ebb..a73386b1 100644 --- a/app/lib/window.ts +++ b/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) => {