- commit
- 93264750bf46b674453c601f3cba57c00ee9bb1f
- parent
- 4ead8c190ea18558ac38e1a689eedaba1a8d1d72
- author
- Dami <dami.etoile@gmail.com>
| M | src/ | 6 | +++--- |
@@ -5,6 +5,7 @@ import gardenBasicsSource from '../mods/garden-basics.cjs?raw';
55 import wordLabSource from '../mods/word-lab.cjs?raw';66 import { prepare, layout } from '@chenglou/pretext';77 import { createStage } from './stage.js';8+import { SCENE_MOTION_TIMING } from './stage/scene-motion.js';89 import { createInput } from './input.js';910 import { createPackService } from './pack-service.js';1011 import { createPackLibrary } from './pack-library.js';@@ -216,9 +217,8 @@ function scheduleInitialWin() {
216217 stage.show('win', { steps: game.getState().moves, nodeId: expectedLevelId, instant: true });217218 return;218219 }219- // Index → proof has a 280ms scene exit. Retry after that visual handoff;220- // the timer is presentation-clock based, so slowmo timing is preserved.221- if (stage.scene === 'index-exiting') winTimer = presentationClock.setTimeout(promote, 280);220+ // Retry after the INDEX exit on the presentation clock, preserving slowmo.221+ if (stage.scene === 'index-exiting') winTimer = presentationClock.setTimeout(promote, SCENE_MOTION_TIMING.exit);222222 };223223 winTimer = presentationClock.setTimeout(promote, 0);224224 }