mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Swatches: Ctrl/Cmd+Shift-click on New Swatch makes a global process color
Ctrl/Cmd+Shift-clicking New Swatch in the Swatches panel opened New Swatch for a spot color, as a Ctrl/Cmd-click does. It now opens the dialog for a global process color, and with Alt also held it saves one at once. `ui.newSwatch` takes `global`. An Alt+Ctrl/Cmd-click with a gradient or pattern as the active paint failed with "spot, mode and group apply to solid colours only". It now saves a gradient or pattern swatch, as a Ctrl/Cmd-click does through the dialog.
This commit is contained in:
@@ -132,7 +132,7 @@ swatch of its kind in the Swatches panel with Alt held replaces it (`swatch.edit
|
||||
Confirmations: deleting swatches from the Swatches panel opens a `confirm` dialog (fields `message`, `detail`);
|
||||
`ui.dialog.confirm` runs the command it asks about (here `swatch.delete`) and `ui.dialog.cancel` drops it.
|
||||
|
||||
New swatches and colour groups: `ui.newSwatch {spot?, group?}` opens the `newSwatch` dialog prefilled from the active
|
||||
New swatches and colour groups: `ui.newSwatch {spot?, global?, group?}` opens the `newSwatch` dialog prefilled from the active
|
||||
fill or stroke (fields as in `swatchOptions` plus `group`; a gradient or pattern only takes `name`) and
|
||||
`ui.newColorGroup {swatches?}` opens `newColorGroup` (fields `name`, `fromArtwork`, `toGlobal`, `includeTints`,
|
||||
`swatches`); `ui.dialog.confirm` runs `swatch.new` / `swatch.newGroup`.
|
||||
|
||||
Reference in New Issue
Block a user