mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 19:51:40 +02:00
🐛 Fix problems with touch devices and Wacom tablets
This commit is contained in:
parent
5bd4be1950
commit
2c6513ac85
35 changed files with 173 additions and 197 deletions
|
@ -233,7 +233,6 @@
|
|||
(mf/use-layout-effect
|
||||
(fn []
|
||||
(let [keys [(events/listen globals/window EventType.POINTERDOWN on-click)
|
||||
(events/listen globals/window EventType.MOUSEDOWN on-click)
|
||||
(events/listen globals/window EventType.CLICK on-click)]]
|
||||
#(doseq [key keys]
|
||||
(events/unlistenByKey key)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue