mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 12:38:18 +00:00
Color Wheel: a press held on a harmony marker applies its color
A press on a harmony marker that is held past the length of a click without leaving the marker no longer drags the hue ring under it: the color stays as it was while the press is held, and releasing it on the marker applies the marker's color, as a click does. A press that leaves the marker still moves the ring's hue. Harmony Rule in the panel menu is gray while the box shows, as Show Harmony is. The catalog rows for Show Harmony, Harmony Rule and Harmony color move next to the other Color Wheel rows. Docs: docs/control-protocol.md lists the harmony and harmonyRule keys of ui.colorWheel, and the Show Harmony sentence in docs/target-app-parity.md moves to the Color Wheel panel entry.
This commit is contained in:
@@ -265,9 +265,10 @@ My Themes tab lists the saved themes; every action runs a command (`colorTheme.s
|
||||
Color Wheel panel (`window.panel {panel: "colorWheel"}`): a hue ring around a saturation and brightness square. A
|
||||
pick runs the commands the Color panel's sliders run: `paint.setFill` or `paint.setStroke` with `keepModel`,
|
||||
`paint.editGradient` for a gradient's selected stop, and `paint.freeform.setPoint` for a freeform gradient's selected
|
||||
point (the first stop or point when none is selected). `ui.colorWheel {view?, channel?}` shows the wheel or the box (a
|
||||
color field with a channel strip at its right) and picks the box's channel; it returns the settings, and `ui.inspect`
|
||||
reports them as `ui.color_wheel`.
|
||||
point (the first stop or point when none is selected). `ui.colorWheel {view?, channel?, harmony?, harmonyRule?}` shows the wheel or the
|
||||
box (a color field with a channel strip at its right), picks the box's channel, and shows the other colors of a
|
||||
harmony rule as markers on the wheel's ring; it returns the settings, and `ui.inspect` reports them as
|
||||
`ui.color_wheel`.
|
||||
|
||||
Edit Colors dialogs: `ui.colorBalanceDialog` opens Adjust Colors (`colorBalance`: fields `mode` `gray`/`rgb`/`cmyk`/
|
||||
`global`, the channels `r` `g` `b` / `c` `m` `y` `k` / `gray` / `tint` (global mode) from −100 to 100, `convert`, `fill`, `stroke`,
|
||||
|
||||
Reference in New Issue
Block a user