mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
Hue range tests: keep #9252's doc comment on its own test after the rebase
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2a70d63f1
commit
15437c9ea0
1 file changed
+3
-3
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user