mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 13:47:21 -06:00
M3.71: Graphic Styles panel views, previews, merge, reorder and drag and drop
Thumbnail, Small List and Large List views; thumbnails rendered on a square or on type and cached by a hash of each style's look. Merge Graphic Styles (named in Graphic Style Options), drag to reorder, delete asks first (Alt-click does not), the right button held on a style shows it large on the selected object. Styles dragged onto art apply to the object hit; art dragged off the canvas or the Appearance thumbnail dropped on the panel becomes a new style. Override Character Color (on by default) clears type's character fill and stroke when a style with fills or strokes is applied. Control bar Style picker. Commands: graphicStyle.merge, graphicStyle.move, graphicStyle.setOptions, ui.mergeGraphicStyles. Prefs: overrideCharColor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1c18851728
commit
d8b942c43d
@@ -41,6 +41,8 @@ The Color Picker is a dialog too: `engine.execute {command: "ui.colorPicker", pa
|
||||
Graphic styles: `ui.graphicStyleOptions {name}` opens the `graphicStyleOptions` dialog (field `name`) for a style and
|
||||
`ui.dialog.confirm` renames it with `graphicStyle.rename` (a name another style has returns an error and keeps the
|
||||
dialog open); without `name` it names a new style made from the selection (`graphicStyle.new`).
|
||||
`ui.mergeGraphicStyles {names}` opens the same dialog to name the style `ui.dialog.confirm` merges from them
|
||||
(`graphicStyle.merge`). Deleting styles from the panel asks first with a `confirm` dialog (`graphicStyle.delete`).
|
||||
|
||||
Gradient panel: double-clicking a stop on the panel's slider opens the same `gradientStop` popover, with a `screen`
|
||||
field (`[x, y]`, screen points) in place of `x`/`y`. The panel's stop eyedropper selects the Eyedropper tool with the
|
||||
|
||||
Reference in New Issue
Block a user