From 72e70f53605c56ac36da6f1ba0ce5fdcb2f4f7f7 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Wed, 7 Oct 2026 13:21:08 +0700 Subject: [PATCH] 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 --- crates/ui-egui/tests/ui_angles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/tests/ui_angles.rs b/crates/ui-egui/tests/ui_angles.rs index 3be2ee5e..7d5a888f 100644 --- a/crates/ui-egui/tests/ui_angles.rs +++ b/crates/ui-egui/tests/ui_angles.rs @@ -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);