MCPcopy Index your code
hub / github.com/massCodeIO/massCode / saveWindowBounds

Function saveWindowBounds

src/main/index.ts:35–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33let migrationError: string | null = null
34
35function saveWindowBounds() {
36 if (!mainWindow || mainWindow.isDestroyed()) {
37 return
38 }
39
40 store.app.set('window.bounds', mainWindow.getBounds())
41}
42
43function scheduleWindowBoundsSave() {
44 if (saveWindowBoundsTimer) {

Callers 2

scheduleWindowBoundsSaveFunction · 0.85
flushWindowBoundsSaveFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected