提交 62222e67 编写于 作者: E Eugene Pankov

lint

上级 6aab7823
......@@ -138,13 +138,15 @@ export class Window {
})
this.window.on('resize', () => {
if (!this.window.isMaximized())
if (!this.window.isMaximized()) {
this.windowBounds = this.window.getBounds()
}
})
this.window.on('move', () => {
if (!this.window.isMaximized())
if (!this.window.isMaximized()) {
this.windowBounds = this.window.getBounds()
}
})
ipcMain.on('window-focus', () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册