Files
hyperframes/packages
Vincent Yip bdf9ba0ee6 feat(studio): alt marquee removes the covered items from the selection (#5680)
* feat(studio): alt marquee removes the covered items from the selection

Shift already adds marquee hits to the selection on the canvas and the
timeline; there was no way to take a few items back out of a large
selection. Both marquee paths now carry a MarqueeSelectionMode
(replace | add | subtract) resolved from the pointer modifiers in one
helper, with Alt winning over Shift. Subtracting the primary re-anchors
on a surviving member; subtracting everything clears the selection. The
band and candidate outlines turn the danger colour while subtracting.

Closes #5586

* fix(studio): same alt marquee rules on the canvas and the timeline

Both surfaces now let the modifiers held at release decide: the timeline
re-applies the marquee from the pointerup event before it finishes, so
letting go of Alt mid-drag turns a subtract back into a replace, as the
canvas already did. Alt at pointerdown no longer bakes a timeline base
mode; Cmd/Ctrl still sets add. While subtracting, the canvas outlines
only candidates that are in the current selection, so the band never
suggests removing something that is not selected. The timeline commit
helpers move to timelineMarqueeCommit.ts to keep the hook under the
file-size cap.
2026-11-05 04:09:52 +00:00
..
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00
2026-11-05 02:08:44 +00:00