MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / toggleFullscreen

Function toggleFullscreen

frontend/src/stores/fullscreen.ts:69–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69export async function toggleFullscreen() {
70 const state = get(store);
71 if (state.windowFullscreen) await exitFullscreen();
72 else await enterFullscreen();
73}

Callers 2

createFullscreenStoreFunction · 0.85

Calls 3

exitFullscreenFunction · 0.85
enterFullscreenFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected