mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-14 12:24:34 +00:00
lint
This commit is contained in:
@@ -138,13 +138,15 @@ export class Window {
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.window.on('resize', () => {
|
this.window.on('resize', () => {
|
||||||
if (!this.window.isMaximized())
|
if (!this.window.isMaximized()) {
|
||||||
this.windowBounds = this.window.getBounds()
|
this.windowBounds = this.window.getBounds()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.window.on('move', () => {
|
this.window.on('move', () => {
|
||||||
if (!this.window.isMaximized())
|
if (!this.window.isMaximized()) {
|
||||||
this.windowBounds = this.window.getBounds()
|
this.windowBounds = this.window.getBounds()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
ipcMain.on('window-focus', () => {
|
ipcMain.on('window-focus', () => {
|
||||||
|
Reference in New Issue
Block a user