MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / hideScreens

Function hideScreens

src/engine/ui.ts:232–238  ·  view source on GitHub ↗
(engine: VisualNovelEngine)

Source from the content-addressed store, hash-verified

230}
231
232export function hideScreens (engine: VisualNovelEngine): void {
233 const element = engine.element();
234
235 element?.find ('[data-screen]').each ((screen) => {
236 (screen as Component).setState ({ open: false });
237 });
238}
239
240// ============================================================================
241// Auto-play & Skip

Callers 2

revealScreenFunction · 0.85
goBackFunction · 0.85

Calls 2

eachMethod · 0.65
elementMethod · 0.45

Tested by

no test coverage detected