🐛 Fix problems with touch devices and Wacom tablets

This commit is contained in:
alonso.torres 2023-03-14 15:42:24 +01:00
parent 5bd4be1950
commit 2c6513ac85
35 changed files with 173 additions and 197 deletions

View file

@ -64,8 +64,8 @@
(if render-wrapper?
[:> shape-container {:shape shape
:on-mouse-enter (handle-hover-shape shape true)
:on-mouse-leave (handle-hover-shape shape false)
:on-pointer-enter (handle-hover-shape shape true)
:on-pointer-leave (handle-hover-shape shape false)
:on-click (select-shape shape)}
[:& component {:shape shape
:frame frame