mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 21:17:48 +00:00
A graph draws its series groups again with no rows of their own, so a fill, stroke, opacity or graphic style that a command put on a series group was lost the next time the graph's data, type or size changed, and the graph stored nothing. paint.setFill and paint.setStroke already pass a series group's id on to the paths directly inside it. - appearance.addFill, addStroke, setItem, removeItem, duplicateItem and moveItem, graphicStyle.apply and transparency.set with a fill or stroke item now edit the paths directly in a series group given by id or picked with Group Selection, and the graph stores what they change. A series group with no such path, or with a fill or stroke row of its own, is still edited itself, and appearance.moveItem from "contents" still moves the group's own Contents row. - appearance.clear, appearance.reduceToBasic, appearance.showAllHidden and graphicStyle.breakLink edit the group as well as its paths. - graphicStyle.apply without add and appearance.transfer onto a series group clear the group's own opacity, blend mode, isolation, knockout, effects and style link, and graphicStyle.apply with add unlinks the group. A transfer source that is one of the group's paths keeps its look, and a source that is the group's only path is an error. - graphicStyle.redefine passes the style to the paths of a linked series group, other than the source and the linked paths whose look was edited, and clears and unlinks the group. - graphicStyle.new, graphicStyle.redefine and appearance.transfer read a series group that holds no row, effect, opacity, blend mode, isolation, knockout or style link of its own through the topmost path directly in it, and a move clears each of those paths. A series group that holds one of them is read itself, as before. - The Graphic Styles panel reads the style link of such a selected series group from that path. Docs: docs/mcp.md, docs/target-app-parity.md. Not yet: the Appearance panel and appearance.setActiveItem still read the selected group's own rows, and the effect commands and the paint, stroke and gradient commands with an item still edit the group itself. Follows #5501.