mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
💄 Minor cosmetic changes.
This commit is contained in:
parent
14ff64d3d7
commit
92bda9675f
@ -256,7 +256,8 @@
|
|||||||
key3 (events/listen dnode EventType.MOUSEMOVE on-mouse-move)
|
key3 (events/listen dnode EventType.MOUSEMOVE on-mouse-move)
|
||||||
;; bind with passive=false to allow the event to be cancelled
|
;; bind with passive=false to allow the event to be cancelled
|
||||||
;; https://stackoverflow.com/a/57582286/3219895
|
;; https://stackoverflow.com/a/57582286/3219895
|
||||||
key4 (events/listen js/window EventType.WHEEL on-mouse-wheel #js {"passive" false})]
|
key4 (events/listen js/window EventType.WHEEL on-mouse-wheel
|
||||||
|
#js {"passive" false})]
|
||||||
(fn []
|
(fn []
|
||||||
(events/unlistenByKey key1)
|
(events/unlistenByKey key1)
|
||||||
(events/unlistenByKey key2)
|
(events/unlistenByKey key2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user