mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-01 14:36:50 -06:00
The clip menu was attached at the end of lane_interaction, which returns early when the lane has no pointer position. Once the menu opened, the pointer sat over the popup, the lane lost its hover, and the menu was never drawn again, so it vanished before Delete could be clicked. Attach the menu before the early return and remember the right-clicked clip so it keeps its target. Stale clip ids are dropped if the clip no longer exists. Adds a kittest regression test covering right-click, move onto the menu, and Delete. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>