mirror of
https://github.com/Eugeny/tabby.git
synced 2025-04-06 16:00:28 +08:00
lint
This commit is contained in:
parent
6aab782326
commit
62222e67fb
@ -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', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user