mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
The canvas only showed effects after OK. While the dialog is open, the canvas now renders the document with the dialog's style applied: the same commands OK runs, replayed on a scratch session (no history), cached by document revision + style fields so switching pages doesn't re-render. Cancel drops the preview. Works on both GPU and CPU canvas paths (display_doc). Tests cover the preview, re-render on edit, and cancel. Co-authored-by: Claude Opus 5.5 <[email protected]>