()
| 110 | } |
| 111 | |
| 112 | syncBounds() { |
| 113 | if (!this.hasMain) { |
| 114 | return; |
| 115 | } |
| 116 | const layoutType = config.get<LayoutType>("layoutType"); |
| 117 | let windowConfig = config.get<LayoutConfig>(layoutType); |
| 118 | this.mainWindow.setBounds(windowConfig); |
| 119 | } |
| 120 | |
| 121 | get(routeName: RouteActionType): BrowserWindow { |
| 122 | if (this.windows.has(routeName)) { |