Fix dragging an existing pedal into a region lane (cross-lane move)

Drag/drop only supported add: (palette→anywhere) and same-lane reorders, so
dragging a pedal from the main chain (or another lane) into a Stereo Unzip /
Split / Parallel lane highlighted the lane but the drop was a no-op.

- New core ShoeGaze.movePedal(from:at:to:in:) moves a pedal across lanes,
  preserving its PedalState (params), with destination-index correction when the
  removal deletes a top-level segment before the target region.
- BoardFlowView routes movemain:/movebranch: payloads dropped on a lane (or the
  main chain, or another lane's card) through it via moveAcross(_:toLane:).

Tests: move a main pedal into an unzip lane (params preserved); move a pedal
that sits before the region (index-adjust path).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 20:24:32 -07:00
parent f87fc1d4b1
commit b55df174a6
4 changed files with 169 additions and 9 deletions
+4 -2
View File
@@ -5,8 +5,10 @@
### Fixes
- Pedal **ⓘ info button** moved to the top-left corner (under the corner screw),
out of the way of the name plate.
- Fixed **drag-and-drop into empty Stereo Unzip / Split / Parallel lanes** — an empty
lane is now fully hit-testable, so a dropped pedal registers instead of doing nothing.
- Fixed **dragging a pedal into a Stereo Unzip / Split / Parallel lane**. Dropping a pedal
from the main chain (or another lane) into a region lane now moves it there, preserving its
parameters — previously the drop was silently ignored. Empty lanes are also fully
hit-testable now.
## 1.1.0 — 2026-06-24