mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 00:40:57 -06:00
Symbols: F8 opens Symbol Options for a new symbol from the selection
The reference app creates a new symbol with F8 on Windows and macOS. VectorCraft opened Symbol Options for a new symbol from the Symbols panel's New Symbol button, from the panel menu's New Symbol… item and from Help › Search Commands…, but no key ran it, and F8 did nothing. ui.symbolOptions (Symbol Options…) now has the default F8 on every platform. With a selection the key opens Symbol Options for a new symbol, as the New Symbol button does: OK makes the symbol and puts an instance of it in place of the art, and Cancel makes none. With nothing selected the key opens no dialog, and the status bar says that nothing is selected. Shift+F8, Cmd+F8 and Cmd+Shift+F8 keep their commands. Keyboard Shortcuts now lists the command with its key. Docs: docs/ui-parity.md, docs/target-app-parity.md, docs/control-protocol.md.
This commit is contained in:
@@ -155,7 +155,8 @@ dialog open); without `name` it names a new style made from the selection (`grap
|
||||
(`graphicStyle.merge`). Deleting styles from the panel asks first with a `confirm` dialog (`graphicStyle.delete`).
|
||||
|
||||
Symbols: `ui.symbolOptions` opens the `symbolOptions` dialog (field `name`) that the Symbols panel's New Symbol asks
|
||||
first; `ui.dialog.confirm` makes the symbol from the selection with that name (`symbol.new`).
|
||||
first; `ui.dialog.confirm` makes the symbol from the selection with that name (`symbol.new`). F8 runs
|
||||
`ui.symbolOptions` without params.
|
||||
|
||||
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