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:
parent
14ff64d3d7
commit
92bda9675f
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue