Skip to content

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

Apply CI formatter output to compact panel test

JGF2a5985a5d18f
diff --git a/crates/ui-egui/src/clipping_indicator_tests.rs b/crates/ui-egui/src/clipping_indicator_tests.rs
index eef31d659..d95bdedf2 100644
--- a/crates/ui-egui/src/clipping_indicator_tests.rs
+++ b/crates/ui-egui/src/clipping_indicator_tests.rs
@@ -140,12 +140,9 @@ fn scroll_to_adjustment_control(h: &mut Harness<'_, PhotocraftApp>, label: &str)
fn adjustment_scope_control_fits_compact_properties_before_scrolling() {
for theme in crate::theme::ThemeKind::ALL {
for scale in [1.0, 1.5, 2.0] {
- for (kind, editor_control) in [
- ("Hue/Saturation", "Colorize"),
- ("Curves", "Edit points to modify the curve"),
- ("Selective Color", "Relative"),
- ("Color Lookup", "Dither"),
- ] {
+ for (kind, editor_control) in
+ [("Hue/Saturation", "Colorize"), ("Curves", "Edit points to modify the curve"), ("Selective Color", "Relative"), ("Color Lookup", "Dither")]
+ {
let mut h = adjustment_harness(kind, 8, theme, scale, false);
let viewport = egui::Rect::from_min_size(egui::Pos2::ZERO, vec2(250.0, 160.0));
let rect = h.get_by_label("Clip to layer below").rect();