mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 12:35:48 -05:00
An envelope of type whose type a text variable binds kept its drawn
art, its type hidden. The variable library names the hidden text object
a slot became, and a live envelope's type takes its place with an id of
its own, so the binding would have been dropped. Now such an envelope
opens live like the others, and a binding to the hidden text object
goes to the type in the envelope's contents. Where the drawn art is put
back (the page holds the envelope against the layers), the binding
stays on the hidden text object put back with it. A data set already
rewrites type in an envelope's contents, and the live envelope draws
from its contents, so the envelope bends the new text.
The editing copy of a .ai save left out bindings of type in an
envelope's contents with a warning; it now writes them for text
variables, so the type reads back bound. A visibility variable on the
type still keeps the drawn art: in a live envelope it would show and
hide only the type, not the envelope.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 4026cdb928)