M3.15: Timeline tabs per open comp; Project double-click opens; tab drag insertion mark
- The Timeline shows one tab per open comp (dock DocTab). Clicking a tab shows that comp; × or middle-click closes that comp's Timeline (comp.close), not the panel. Opening a comp brings its viewer and Timeline tab to the front. - Project panel: a double-click on an item's name opens it (a comp gets its own tab) instead of renaming; Enter and the context menu rename. - Tab drags: over a tab strip an insertion mark shows where the tab lands, and it lands there (Layout::insert_tab), which also reorders a group's own tabs; side zones are unchanged. - Tests: ui_tabs (double-click, tab switch / close, drag reorder and cross-group insert; an ignored mid-drag snapshot); the Timeline close test follows the new behaviour. - Docs: parity, control protocol. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a008a904af
commit
c7c90cfa74
@@ -264,6 +264,9 @@ fn composition_tabs_and_scrolling_preview() {
|
||||
assert!(h.state().ui.locked_tabs.contains("Composition"));
|
||||
click_id(&mut h, "panel.tab.Composition.lock");
|
||||
assert!(h.state().ui.locked_tabs.is_empty());
|
||||
// The Timeline's × closes its comp's tab (the panel stays, as in After Effects).
|
||||
let shown = h.state().session.state.active_comp.unwrap();
|
||||
click_id(&mut h, "panel.tab.Timeline.close");
|
||||
assert!(!h.state().ui.dock.contains(PanelKind::Timeline));
|
||||
assert!(!h.state().session.state.open_comps.contains(&shown));
|
||||
assert!(h.state().ui.dock.contains(PanelKind::Timeline));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user