arthur/frontend/test/browser
Your Name 2e021a13eb Give a remap shape something to drag it by
A remap draws light rather than colour, so `pick/hit-op` let a click go THROUGH
it to what it lights, and `op-bounds` left it out of a marquee's reach. Both of
those rules are about getting PAST a shape, and neither has anything to say
about the shape you have in your hands — but the stage's move gesture IS that
hit-test, while `handles` hangs its box and corners off `pick/bounds-of`, which
reads the node's points and knows nothing about colour.

So a remap shape got a full set of handles over a shape that answered no point
on the stage at all. The first press on it started a marquee, the marquee
selected nothing, and the selection a timeline row had just given it was thrown
away: selectable in the timeline, and then neither movable nor resizable, with
the handles sitting right there. A knockout was the same bug for the same
reason, and both of them read as handles that do not work.

`hit-op` now takes what is selected, and what is selected is never
click-through. That is `choose`'s own rule — a click inside what is selected
keeps it, so a deep selection can be dragged — reaching one step further down;
clicking a remap you have NOT selected still goes through to what it lights,
which is the point of it. `op-bounds` keeps a hole's and a light's bounds like
anything else, so a marquee reaches one without going to the timeline for it.

`browser/remap.mjs` asserts it as `peg.mjs` does, with real pointer events
through the handles, and for the same reason: every assertion about the maths
passed throughout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-05 22:22:52 -04:00
..
automation.mjs Cover large timeline keyframe selections in the browser suite 2026-10-04 02:14:02 -04:00
lane.mjs perfect target area thing 2026-10-03 00:39:07 -04:00
onion.mjs Repaint the stage after edits that move the selection; onion any symbol 2026-10-04 18:35:04 -04:00
peg.mjs Place a peg's pivot with ⌃/⌘ rather than ⌥ 2026-10-05 21:48:59 -04:00
remap.mjs Give a remap shape something to drag it by 2026-10-05 22:22:52 -04:00
take.mjs ikd mn 2026-10-04 18:14:05 -04:00