Files
oak-editor/crates
Mike-Solar 3bf914a2b8
CI / Build & test (Linux) (push) Successful in 18m42s
CI / Build & test (Windows) (push) Successful in 44m58s
app: stop slider drags from leaking into other sliders
gpui delivers DragMoveEvent to every drop target with a matching
payload type under the cursor, and every slider shared the SliderDrag
payload type — dragging one slider (e.g. an OFX panel parameter) also
moved every other slider the cursor passed over (timeline zoom, track
height). Tag the payload with the starting control and ignore drag
moves that are not ours.

Also finish the gesture on mouse-up (inside or outside the track)
instead of on_drop: gpui only delivers drop events to the hovered
target, so releasing outside the track used to leave the drag
unfinished and the final value/undo edit unemitted.
2026-08-25 19:10:25 +08:00
..