MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / syncBounds

Method syncBounds

src/main/views/manager.ts:112–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)) {

Callers 1

postSetMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected