0
Fork 0
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:
Andrey Antukh 2017-02-23 20:24:38 +01:00
parent 6bd22fff4c
commit 67974a0952
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -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