mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-27 03:28:22 -06:00
Tests: ui_angles reveals Rotation through the per-layer filter (#160)
Its setup wrote the Timeline's old global reveal field, which no longer filters on its own since reveals are kept per layer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bfd1e974ea
commit
72e70f5360
@@ -47,7 +47,7 @@ fn harness(panel: Panel, angle: f64) -> (Harness<'static, EffectcraftApp>, u64,
|
||||
let mut app = EffectcraftApp::new(s);
|
||||
app.show_panel(panel.kind());
|
||||
app.toggle_maximize(panel.kind());
|
||||
app.ui.timeline.reveal = vec!["rotation".into()];
|
||||
app.ui.timeline.layer_reveal.insert(layer, vec!["rotation".into()]);
|
||||
app.ui.timeline.open_layers.insert(layer);
|
||||
let mut h = Harness::builder().with_size(vec2(1600.0, 1000.0)).build_eframe(|_| app);
|
||||
h.run_steps(4);
|
||||
|
||||
Reference in New Issue
Block a user