()
| 110 | } |
| 111 | |
| 112 | public getWindowPosition(): { x: number; y: number } { |
| 113 | if (this.mainWindow) { |
| 114 | const [x, y] = this.mainWindow.getPosition() |
| 115 | return { x, y } |
| 116 | } |
| 117 | return { x: 0, y: 0 } |
| 118 | } |
| 119 | |
| 120 | public setWindowPosition(x: number, y: number): void { |
| 121 | if (this.mainWindow && this.lockedSize) { |