mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 00:26:37 +02:00
🐛 Change "Toggle Scale Text" in shortcuts for "Scale"
This commit is contained in:
parent
dd5ec39619
commit
0da51d878f
23 changed files with 10 additions and 64 deletions
|
@ -292,10 +292,10 @@
|
|||
:subsections [:tools]
|
||||
:fn #(emit-when-no-readonly (dw/toggle-proportion-lock))}
|
||||
|
||||
:toggle-scale-text {:tooltip "K"
|
||||
:command "k"
|
||||
:subsections [:tools]
|
||||
:fn #(emit-when-no-readonly (toggle-layout-flag :scale-text))}
|
||||
:scale {:tooltip "K"
|
||||
:command "k"
|
||||
:subsections [:tools]
|
||||
:fn #(emit-when-no-readonly (toggle-layout-flag :scale-text))}
|
||||
|
||||
:open-color-picker {:tooltip "I"
|
||||
:command "i"
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
(tr "workspace.header.menu.disable-scale-content")
|
||||
(tr "workspace.header.menu.enable-scale-content"))]
|
||||
[:span {:class (stl/css :shortcut)}
|
||||
(for [sc (scd/split-sc (sc/get-tooltip :toggle-scale-text))]
|
||||
(for [sc (scd/split-sc (sc/get-tooltip :scale))]
|
||||
[:span {:class (stl/css :shortcut-key) :key sc} sc])]]
|
||||
|
||||
[:> dropdown-menu-item* {:on-click toggle-flag
|
||||
|
|
|
@ -177,7 +177,7 @@
|
|||
;; shortcuts.toggle-lock
|
||||
;; shortcuts.toggle-lock-size
|
||||
;; shortcuts.toggle-rules
|
||||
;; shortcuts.toggle-scale-text
|
||||
;; shortcuts.scale
|
||||
;; shortcuts.toggle-snap-grid
|
||||
;; shortcuts.toggle-snap-guide
|
||||
;; shortcuts.toggle-textpalette
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue