mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 01:50:22 -06:00
Recolor Artwork: the Edit tab shows the colors on a smooth wheel, a segmented wheel or as color bars
Buttons beside the Edit tab's wheel switch between the smooth color wheel, a segmented wheel of solid patches (24 hues by 5 saturations, its markers moving as freely as on the smooth wheel) and color bars: one solid bar per recolored color in row order, where a click selects a bar's row for the color sliders and a drag moves the row without changing a color. The dialog opens on the smooth wheel and keeps the choice while it is open; the dialog field is `display` (`smooth`, `segmented`, `bars`).
This commit is contained in:
@@ -264,7 +264,10 @@ same sliders under the wheel, and its mode menu also has Global Adjust (`sliderM
|
||||
Brightness, Temperature and Luminosity sliders that set `globalAdjust` (`{saturation, brightness, temperature,
|
||||
luminosity}`, percent from -100 to 100, 0 by default). The dialog sends a non-zero `globalAdjust` as `recolor.apply`'s
|
||||
`globalAdjust` in every slider mode, so one slider changes every recolored color at once and the rows keep their new
|
||||
colors; colors opened alone are saved as a group with the change. Setting
|
||||
colors; colors opened alone are saved as a group with the change. `display` sets how the Edit tab shows the new
|
||||
colors: `smooth` (the smooth wheel, also when unset; each opening starts there), `segmented` (a wheel of solid patches,
|
||||
24 hues by 5 saturations, whose markers move as freely) or `bars` (a solid bar per recolored color in row order; a click
|
||||
selects its row for the sliders and a drag moves the row without changing a color). Setting
|
||||
`colors`, a preserve flag or `limitTo` reduces the rows again (also on `ui.dialog.confirm`). The dialog previews
|
||||
`recolor.apply` on the canvas; confirm keeps it as one undo step (with a group, the group is rewritten in the same
|
||||
step; with no art selected only the group changes). In the Swatches panel, double-clicking a colour group's folder,
|
||||
|
||||
Reference in New Issue
Block a user