mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
* fix(selection): keep Color Range inside active selection and reject out-of-bounds samples * fix(ui): scope Color Range dialog and canvas previews to the active selection * test(selection): cover Color Range scoping, sampling, invert, Add and undo * test(ui): ensure Color Range preview and pipette honor existing selection * test(selection): avoid Debug bound when asserting prepared-query error * test(selection): validate malformed Color Range sample orders without selection interference * Color Range: format, and scope the OK undo test's prior selection (#3313) The existing ok_applies_one_undo_step test picked a prior selection that excluded the red it then expected Color Range to select; with Color Range scoped to the active selection it now selects the red inside it. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Brandon Thomas <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>