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:
@@ -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)")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user