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:
parent
ed3d24bdb4
commit
21c9c205cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue