mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 19:11:41 +02:00
🐛 Fix alt+l shortcuts
This commit is contained in:
parent
ff14208a95
commit
b82ce671b9
2 changed files with 3 additions and 3 deletions
|
@ -1119,7 +1119,7 @@
|
||||||
|
|
||||||
(defn toggle-proportion-lock
|
(defn toggle-proportion-lock
|
||||||
[]
|
[]
|
||||||
(ptk/reify ::toggle-propotion-lock
|
(ptk/reify ::toggle-proportion-lock
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(let [page-id (:current-page-id state)
|
(let [page-id (:current-page-id state)
|
||||||
|
|
|
@ -279,8 +279,8 @@
|
||||||
:subsections [:tools]
|
:subsections [:tools]
|
||||||
:fn #(emit-when-no-readonly (dw/toggle-lock-selected))}
|
:fn #(emit-when-no-readonly (dw/toggle-lock-selected))}
|
||||||
|
|
||||||
:toggle-lock-size {:tooltip (ds/meta (ds/alt "L"))
|
:toggle-lock-size {:tooltip (ds/shift "L")
|
||||||
:command (ds/c-mod "alt+l")
|
:command "shift+l"
|
||||||
:subsections [:tools]
|
:subsections [:tools]
|
||||||
:fn #(emit-when-no-readonly (dw/toggle-proportion-lock))}
|
:fn #(emit-when-no-readonly (dw/toggle-proportion-lock))}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue