fix deprecation

This commit is contained in:
Eugene Pankov 2023-07-18 23:17:07 +02:00
parent ae2f3f162e
commit a1cb0ff223
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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) => {