mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 19:41:36 -05:00
d199b0d257
A spot or global swatch picked for a row's new color in the Color
Picker's swatch list now stays that swatch: with Scale Tints or
Preserve Tints the row's art becomes tints of the swatch linked to it,
also with no Limit to Library, so editing the swatch recolors the art.
A process swatch gives its color, as before. Before this change the
picker passed only the color, and the art took unlinked tints.
recolor.apply rows take swatch: {name, library?}. Of the swatches with
that name, the first with the row's new color is used; when it is a
global or spot swatch and no Global Adjust applies without Limit to
Library, the row's art links to it. A process swatch, or a swatch or
library that is not there, links nothing, and the result lists the
names that are not there in swatchesNotFound; a malformed swatch is an
error. Rows that pick two library swatches of one name each link to
their own added swatch. recolor.randomize moves a row's swatch with its
color.
In the dialog, the Tint slider shows for a row whose picked swatch is a
spot color, a row's swatch goes when its new color changes or a process
swatch is picked for it, and a row whose swatch no longer links its art
shows the full color. Over Recolor Artwork, the picker lists the
document's swatches as they were before the preview.
The rows of the picker's swatch list are now buttons named for their
swatch, so screen readers can read them.