mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 10:46:46 +00:00
appearance.addFill and appearance.addStroke on an axis line, tick mark or radar ring stored only the attributes the new row changed on the line, so a stroke the kind kept from another line came back when the graph was drawn again, although the line showed the new black stroke. They now store the row they add for the line's kind when it becomes the line's topmost visible row of its kind. An appearance.copyFrom of some attributes, appearance.setItem and stroke.set stored only what they changed, so a paint, stroke weight, row opacity or blend mode that the line already showed did not replace what its kind kept. What they write to the line's topmost visible rows is now stored for the kind, as paint.setStroke stores the paint it writes. Row opacity and blend mode are stored apart, so an edit of one leaves the other as the kind keeps it, and a null weight or opacity writes nothing.