Editor: the round button follows the phone screen's scroll
In Phone view the phone's screen (the stage's frame) scrolls, not the stage, and the round button listened to the stage only: the selected box scrolled away under a button that stayed put. The button now listens to the frame too, is kept inside what the screen shows, and is not drawn while its box is scrolled out of sight.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed,
+141
−26
fixtures/box-menu.mjs+12 −3fixtures/box-menu.test.mjs+46 −3fixtures/box-spot.mjs+3 −1fixtures/box-spot.test.mjs+9 −1internal/slides/credits/assets.json+1 −1internal/slides/static/editor.b0388f89d501d89f.js+17 −0internal/slides/static/editor.df26b0b121842b74.js+0 −17internal/slidestest/browser_quieter_fixes_test.go+53 −0
fixtures/box-menu.mjsLoading diff…
fixtures/box-menu.test.mjsLoading diff…
fixtures/box-spot.mjsLoading diff…
fixtures/box-spot.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/editor.b0388f89d501d89f.jsLoading diff…
internal/slides/static/editor.df26b0b121842b74.jsLoading diff…
internal/slidestest/browser_quieter_fixes_test.goLoading diff…