Slides: scene review fixes: stacking, waiting, phone, motion, fit
Task 4 review, fix round 1. - A scene with a box drawn over it (a higher canvas z, the same z later, image-full's heading) runs inside its own block, so stacking holds; only unobstructed scenes carry on (scene-places.mjs). - A scene inside a box still to arrive runs nothing until it arrives. - Crossing the phone's width decides again which scenes run, both ways; so does a change of the motion setting. - Reduced motion shows stills only, no frame; the settle timer is gone and docs/scenes.md says so. - The follow view and viewer classify moves by position (pageMove), and always rebind frames to the block now on the page; repeated states are not resent. - In a flow region the scene is the largest 16:9 box that fits, centred, on the page (size container) and in pictures (layout/scenes.go).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 files changed,
+539
−149
docs/scenes.md+6 −5fixtures/scene-frame.mjs+4 −16fixtures/scene-frame.test.mjs+3 −11fixtures/scene-layer.mjs+44 −52fixtures/scene-layer.test.mjs+63 −0fixtures/scene-pages.mjs+33 −13fixtures/scene-places.mjs+88 −0internal/slides/credits/assets.json+4 −4internal/slides/layout/layout.go+4 −0internal/slides/layout/scenes.go+16 −1internal/slides/static/{editor.40aed9dd0801d716.js => editor.cd1bf64c3b28e7d7.js}+18 −18internal/slides/static/fontsgate.7c1b9c1c68e4e66d.js+0 −5internal/slides/static/fontsgate.c7325f8208e01d9b.js+5 −0internal/slides/static/present.js+5 −2internal/slides/static/presenter.47795241f9a7029d.js+5 −0internal/slides/static/presenter.ea094c31a2eb5ec1.js+0 −5internal/slides/static/slides.css+17 −2internal/slidestest/scenes_layer_browser_test.go+181 −14internal/slidestest/scenes_stills_test.go+43 −1
docs/scenes.mdLoading diff…
fixtures/scene-frame.mjsLoading diff…
fixtures/scene-frame.test.mjsLoading diff…
fixtures/scene-layer.mjsLoading diff…
fixtures/scene-layer.test.mjsLoading diff…
fixtures/scene-pages.mjsLoading diff…
fixtures/scene-places.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/layout/layout.goLoading diff…
internal/slides/layout/scenes.goLoading diff…
internal/slides/static/{editor.40aed9dd0801d716.js => editor.cd1bf64c3b28e7d7.js}Loading diff…
internal/slides/static/fontsgate.7c1b9c1c68e4e66d.jsLoading diff…
internal/slides/static/fontsgate.c7325f8208e01d9b.jsLoading diff…
internal/slides/static/present.jsLoading diff…
internal/slides/static/presenter.47795241f9a7029d.jsLoading diff…
internal/slides/static/presenter.ea094c31a2eb5ec1.jsLoading diff…
internal/slides/static/slides.cssLoading diff…
internal/slidestest/scenes_layer_browser_test.goLoading diff…
internal/slidestest/scenes_stills_test.goLoading diff…