mirror of
https://github.com/penpot/penpot.git
synced 2026-03-02 00:03:45 +00:00
🐛 Fix problem with horizontal scroll
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user