0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 00:01:51 -05:00

💄 Minor cosmetic changes.

This commit is contained in:
Andrey Antukh 2020-04-08 19:20:37 +02:00
parent 14ff64d3d7
commit 92bda9675f

View file

@ -256,7 +256,8 @@
key3 (events/listen dnode EventType.MOUSEMOVE on-mouse-move)
;; bind with passive=false to allow the event to be cancelled
;; 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 []
(events/unlistenByKey key1)
(events/unlistenByKey key2)