From 15437c9ea0de29f9fefc09b140b911fcf3f23652 Mon Sep 17 00:00:00 2001 From: Hector Villarreal Date: Fri, 30 Oct 2026 22:28:25 -0600 Subject: [PATCH] Hue range tests: keep #9252's doc comment on its own test after the rebase Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/dialogs/adjust_editors.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/dialogs/adjust_editors.rs b/crates/ui-egui/src/dialogs/adjust_editors.rs index 998aa2b4f4..9b52140fea 100644 --- a/crates/ui-egui/src/dialogs/adjust_editors.rs +++ b/crates/ui-egui/src/dialogs/adjust_editors.rs @@ -261,9 +261,6 @@ mod tests { assert_eq!(track_stops(&cx(false), &stops), None); } - /// #9252: Photoshop 2025's zone drags on a colour range (measured on Reds): the fully-on span - /// moves all four handles, each fade its own two; a side stops at the other and the range - /// never passes a turn. /// #9272 review: at the narrowest Properties panel (a 230-point bar) a 30° zone is ~19 points /// wide; a press in its middle grabs the zone, not a handle, while each handle stays grabbable. #[test] @@ -288,6 +285,9 @@ mod tests { assert_eq!(hue_range_handle_at(reds, reds[2] - 1.0, w), Some(2)); } + /// #9252: Photoshop 2025's zone drags on a colour range (measured on Reds): the fully-on span + /// moves all four handles, each fade its own two; a side stops at the other and the range + /// never passes a turn. #[test] fn hue_range_zones_move_their_handles() { let reds = [-45.0, -15.0, 15.0, 45.0];