mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
2356ffe747
Layer.textFrames and GroupItem.textFrames threw "not available yet". They now give a TextFrames collection with the members of the document's: length, [i], index, getByName, add, pointText, areaText, pathText and removeAll. It lists the type directly in the layer or group, topmost first, as the layer's other collections do, and new type goes on top of the layer's or group's contents whatever the current layer. A hidden or locked layer or group throws and changes nothing. text.create takes a parent: a shown, unlocked layer or group that the new type goes on top of, whatever the drawing mode. Area type and type on a path are moved there with node.move in the same step. Docs: docs/mcp.md, docs/target-app-parity.md.