mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
Invert scroll/zoom behavior.
This commit is contained in:
parent
6bd22fff4c
commit
67974a0952
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@
|
|||
(dom/prevent-default event)
|
||||
(dom/stop-propagation event)
|
||||
(if (pos? (.-deltaY event))
|
||||
(st/emit! (dw/increase-zoom))
|
||||
(st/emit! (dw/decrease-zoom)))
|
||||
(st/emit! (dw/decrease-zoom))
|
||||
(st/emit! (dw/increase-zoom)))
|
||||
(scroll/scroll-to-point dom mouse-point scroll-position))))
|
||||
|
||||
(def ^:private workspace-page-ref
|
||||
|
|
Loading…
Add table
Reference in a new issue