Repository navigation
feat(gpui): lock timeline tracks so clip edits don't move them - #2781
YoavLevavi wants to merge 2 commits into
Conversation
Locked tracks (project config) keep their segments in place when clips are deleted, merged or retimed. A lock button sits in each track's gutter in the GPUI timeline. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@YoavLevavi is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for the GPUI port @YoavLevavi, wrapping the rippling edits in |
- Reordering clips in the Clips sidebar runs through with_locked_tracks, so a locked track no longer moves when a dropped transition ripples the rest. - The lock is drawn on a track's first lane only, since it locks the track. - with_locked_tracks and lockable_track sit above delete_clip_segments' doc again, and the locked_tracks doc lists the edits actually covered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for the quick turnaround @YoavLevavi, all four points are sorted: the doc comments are back in the right place, clip reordering now goes through |
|
Thanks @richiemcilroy, all four are addressed in 5da66c3:
|
GPUI port of #2378.
ProjectConfiguration::locked_tracks(LockableTimelineTrack).edits::with_locked_trackswraps the clip edits that ripple other tracks (deleting, merging and retiming clips) and keeps locked tracks' segments where they were.Testing: new
deleting_a_clip_leaves_locked_tracks_in_placetest,cargo test --bin cap-gpui(edits/assets),cargo test -p cap-project --lib.🤖 Generated with Claude Code