mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
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>