0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

🐛 Fix problem with horizontal scroll

This commit is contained in:
alonso.torres 2022-04-28 16:51:27 +02:00
parent 8b3062be0b
commit d92df31b3e

View file

@ -124,7 +124,7 @@
on-mouse-move
(mf/use-callback
(mf/deps zoom v-scrolling?)
(mf/deps zoom @v-scrolling? @h-scrolling?)
(fn [event axis]
(when-let [_ (or @v-scrolling? @h-scrolling?)]
(let [viewport (mf/ref-val viewport-ref)