mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
CodeRabbit finding on #9179 ("Resolve paragraph styles from TextEdit.document"): styles_at read the target layer from the active document, but a text edit can stay in a background document, where the same layer id can name another layer (one file opened twice). The options bar's alignment then showed the wrong paragraph. styles_at and target_text resolve the edit's own document through edit_home. New test: styles_at_follows_the_text_edit_document (Right instead of Center without the fix). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>