Skip to content

Commit

Permalink
Disable click dragging on grid
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Jan 12, 2024
1 parent b44bfa4 commit b73d532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bean/ui/events.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
(.addChild viewport container)
(-> viewport
(.clampZoom #js {:maxHeight 10000 :maxWidth 10000})
(.drag #js {:clampWheel true})
(.drag #js {:clampWheel true :pressDrag false})
(.wheel #js {:trackpadPinch true :wheelZoom false})
(.clamp #js {:direction "all"}))))

Expand Down

0 comments on commit b73d532

Please sign in to comment.