0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05:00

🐛 Add nudge by default

This commit is contained in:
Eva 2022-10-27 09:43:03 +02:00
parent ed3d24bdb4
commit 21c9c205cb

View file

@ -697,7 +697,7 @@
stopper (->> move-events
(rx/debounce 100)
(rx/take 1))
scale (if shift? (gpt/point (:big nudge)) (gpt/point (:small nudge)))
scale (if shift? (gpt/point (or (:big nudge) 10)) (gpt/point (or (:small nudge) 1)))
mov-vec (gpt/multiply (get-displacement direction) scale)]
(rx/concat