mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-15 23:02:32 +00:00
* Captions: live captions follow a gesture when it commits A preview skips the live caption refresh, and committing the gesture ran none, so a caption kept its old text until the next command. Committing an interaction now brings live captions up to date in the same undo step, auto-sizes the caption frames it changed, and gives the document a new revision. * Captions: a live caption inside a group follows its source The refresh after a command and after a committed gesture looked for live captions only at the top of each spread, so a document whose only live caption was grouped never refreshed it. Both checks now look inside groups, as the refresh itself does. * Captions: keep the caret inside a live caption that refreshes When a live caption's story is replaced with its source's text, the text selection kept its old offsets. Typing into a live caption, or a source change that shortens one, left the caret past the end of the story, and the IME text context reported nothing. The selection is now clamped to the refreshed story, after a command and after a committed gesture.