mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🐛 Fix problem with horizontal scroll
This commit is contained in:
parent
8b3062be0b
commit
d92df31b3e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue