mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 16:37:32 +00:00
Merge pull request #8121 from dotCooCoo/feat/type-size-other
Type: Size › Other… gives the Character panel's Font Size field the focus
This commit is contained in:
+4
-1
@@ -7286,7 +7286,10 @@ Guides off, this drag leaves a 70 × 50 and a 90 × 50 copy and the 110 × 70 re
|
||||
`type.highlightTracking` (no default key) and `type.highlightFontName` (Cmd+Alt+Shift+F) show the Character panel and
|
||||
give its Kerning or Tracking field the keyboard focus with the value selected, or open its font family menu with the
|
||||
search field focused; each replies `{field: "kerning" | "tracking" | "fontName"}`. Without selected type or text the
|
||||
Type tool edits, the panel shows and the command fails.
|
||||
Type tool edits, the panel shows and the command fails. Type › Size › Other… runs `type.highlightFontSize` (`{}`, no
|
||||
default key), which gives the Character panel's Font Size field the keyboard focus the same way (blank when the
|
||||
selected sizes differ; the size typed and Enter apply through `text.setStyle {size}` as one undo step) and replies
|
||||
`{field: "fontSize"}`; the menu item is dimmed without selected type or text the Type tool edits.
|
||||
The UI command `type.underline` (Cmd+Shift+U,
|
||||
in remote mode `press_key {key: "U", mods: {cmd: true, shift: true}}` or `invoke_menu`) does what the Character
|
||||
panel's Underline button does: it underlines the Type tool's selected text or the selected type objects, or removes
|
||||
|
||||
Reference in New Issue
Block a user