0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-25 08:16:49 -05:00

🐛 Fix alt+l shortcuts

This commit is contained in:
Alejandro Alonso 2023-08-25 10:54:34 +02:00
parent ff14208a95
commit b82ce671b9
2 changed files with 3 additions and 3 deletions

View file

@ -1119,7 +1119,7 @@
(defn toggle-proportion-lock
[]
(ptk/reify ::toggle-propotion-lock
(ptk/reify ::toggle-proportion-lock
ptk/WatchEvent
(watch [_ state _]
(let [page-id (:current-page-id state)

View file

@ -279,8 +279,8 @@
:subsections [:tools]
:fn #(emit-when-no-readonly (dw/toggle-lock-selected))}
:toggle-lock-size {:tooltip (ds/meta (ds/alt "L"))
:command (ds/c-mod "alt+l")
:toggle-lock-size {:tooltip (ds/shift "L")
:command "shift+l"
:subsections [:tools]
:fn #(emit-when-no-readonly (dw/toggle-proportion-lock))}