mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-11 19:09:20 +00:00
When the grabbed clip is part of a multi-selection, the whole selection moves by its delta on commit, but the live drag let the grabbed clip's ghost out-run the group: its own snapping/clamping led individually while passengers previewed a raw delta, and a passenger clamped at 0 on commit deformed the formation (main keeps it rigid). Port main's model (clampTimelineGroupMoveDelta): compute the group-clamped delta — bounded by the most-constrained (leftmost) member so no member crosses 0 — and apply it to the grabbed clip's preview start too. The grabbed clip now STOPS the instant any member hits the wall; the formation never deforms. Lane changes still apply to the grabbed clip only. Commit path (atomic w/ rollback) unchanged.