feat(node_graph,effect_stack): programmatic selection and card selection events

NodeGraphView::set_selection selects nodes programmatically (emitting
SelectionChanged); EffectStackDataSource::selected_effect highlights
the chosen card and EffectStackEvent::CardSelected reports card clicks
— the two-way clip/node selection sync between the timeline, node
editor and inspector.
This commit is contained in:
2026-08-20 17:08:25 +08:00
parent f7a00fdd91
commit 3870d6da06
4 changed files with 37 additions and 4 deletions
@@ -198,6 +198,7 @@ impl StackDemoRoot {
| EffectStackEvent::RemoveRequested(_)
| EffectStackEvent::AddRequested { .. }
| EffectStackEvent::ContextMenuRequested { .. }
| EffectStackEvent::CardSelected { .. }
| EffectStackEvent::ParameterChanged { .. } => {
todo!("apply {event:?} to the mock model (or engine, in a real app)")
}