Files
photocraft/crates
ljkxandClaude Opus 5.5 ead06c032d fix(ui): close field Color Pickers with their dialog, guard previewed dialogs (#9979 review)
Follow-up to the CodeRabbit review of the live Color Picker preview:

- Cancelling a dialog now also closes its field Color Pickers (found
  by `__dialog` or by the live preview's record of the parent). Before,
  the picker stayed open and its OK failed with "the dialog this colour
  was for is closed".
- confirm_preflight also refuses a dialog that a live preview records
  as its parent, so rewriting a picker's `__dialog` through automation
  no longer lets the parent commit a colour the picker can still cancel.
- ui.dialog.set on a dialog under a previewing picker is refused until
  the picker's OK or Cancel, since closing the picker puts the whole
  dialog back as it was when the picker opened.
- The Crop shield preview adopts a shield colour set elsewhere
  (ui.set) while its picker is open, so Cancel no longer reverts it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 08:28:48 +01:00
..
…
…
…
…
…