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