Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Match compact Rust formatting for wheel input fixture

JGF493c58c67d24
diff --git a/crates/ui-egui/src/clipping_indicator_tests.rs b/crates/ui-egui/src/clipping_indicator_tests.rs
index 9306a8e78..eef31d659 100644
--- a/crates/ui-egui/src/clipping_indicator_tests.rs
+++ b/crates/ui-egui/src/clipping_indicator_tests.rs
@@ -129,12 +129,7 @@ fn scroll_to_adjustment_control(h: &mut Harness<'_, PhotocraftApp>, label: &str)
}
// The label column stays clear of the Color Lookup picker, which consumes wheel input.
h.hover_at(pos2(16.0, 80.0));
- h.event(Event::MouseWheel {
- unit: egui::MouseWheelUnit::Point,
- delta: vec2(0.0, -80.0),
- phase: egui::TouchPhase::Move,
- modifiers: Modifiers::NONE,
- });
+ h.event(Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta: vec2(0.0, -80.0), phase: egui::TouchPhase::Move, modifiers: Modifiers::NONE });
h.run_steps(4);
}
panic!("adjustment control {label:?} was not reachable in the compact viewport");