feat(effect_stack,timeline,node_graph): library drag-drop, params view caching, clip click select

- effect_stack: the params view is cached per effect (recreation per
  render killed in-progress slider drags and clicks); new
  LibraryEffectDrag payload + AddTypeRequested event let an effect
  dragged from the app's effect library drop onto the stack at the
  indicator position
- timeline: left-press selects clips (plain press selects an
  unselected clip, keeps multi-selection on a selected one for group
  drags, Ctrl/Cmd toggles membership)
- node_graph: graph_position_at() converts a window-space point (drop
  position) to graph space
This commit is contained in:
2026-08-20 23:45:22 +08:00
parent 8a0b7569a3
commit 3325521a85
5 changed files with 151 additions and 9 deletions
@@ -197,6 +197,7 @@ impl StackDemoRoot {
EffectStackEvent::ReorderRequested { .. }
| EffectStackEvent::RemoveRequested(_)
| EffectStackEvent::AddRequested { .. }
| EffectStackEvent::AddTypeRequested { .. }
| EffectStackEvent::ContextMenuRequested { .. }
| EffectStackEvent::CardSelected { .. }
| EffectStackEvent::ParameterChanged { .. } => {