From 30bbbc75705af81948e800a886c3cbc0ce099f8a Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 31 Oct 2026 02:07:51 +0000 Subject: [PATCH] Integration: #3182 keep the Colour Range regression comment on its own test --- crates/ui-egui/src/tests/masking.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/tests/masking.rs b/crates/ui-egui/src/tests/masking.rs index f73b1d230..a7cbc82bf 100644 --- a/crates/ui-egui/src/tests/masking.rs +++ b/crates/ui-egui/src/tests/masking.rs @@ -1698,8 +1698,6 @@ fn assert_close(a: &serde_json::Value, b: &serde_json::Value) { assert!(a.iter().zip(&b).all(|(x, y)| (x - y).abs() < 0.05), "{a:?} vs {b:?}"); } -/// Regression: the Colour Range "Pick" button armed the eyedropper, but with the Masking panel -/// open the loupe's clicks went to the mask overlay, so no sample was ever taken. #[test] fn adding_radial_component_disarms_color_range_picker() { let mut h = detail("panel.masking"); @@ -1722,6 +1720,8 @@ fn adding_radial_component_disarms_color_range_picker() { assert!(rx > 0.22, "dragging a radial handle resizes the component: {rx}"); } +/// Regression: the Colour Range "Pick" button armed the eyedropper, but with the Masking panel +/// open the loupe's clicks went to the mask overlay, so no sample was ever taken. #[test] fn color_range_pick_button_samples_the_photo() { let mut h = detail("panel.masking");