mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 14:17:14 +00:00
When a pasted pie's wedge links a global swatch that the document gives another color (swatchConflict "merge", the default), the wedge takes the document's color. Its legend label kept the contrast it had in the copy, so a wedge that turned dark could show a black label, and one that turned light a white label, until the pie was drawn again. Pasting now reads which wedges show a dark fill before the copy is linked to the document's swatches. A pie whose wedges change darkness gets the legend label contrast a redraw sets: white on a dark wedge, black on a light one. Pies whose legend labels have a fill of their own keep it. This applies to every paste command, Paste without Formatting included, and to pies inside opacity masks.