fix startup errors on electron 26

This commit is contained in:
Herwig Hochleitner
2023-10-28 01:00:39 +02:00
parent 1eb61201d6
commit 5751a9bcb7

View File

@@ -91,11 +91,11 @@ function init (state, options) {
})
win.on('move', debounce(e => {
send('windowBoundsChanged', e.sender.getBounds())
send('windowBoundsChanged', main.win.getBounds())
}, 1000))
win.on('resize', debounce(e => {
send('windowBoundsChanged', e.sender.getBounds())
send('windowBoundsChanged', main.win.getBounds())
}, 1000))
win.on('close', e => {