mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
capture tap events
This commit is contained in:
parent
1de3f3e271
commit
58e1b12121
@ -57,6 +57,10 @@ export default function AddButton({
|
||||
onClick={() => {
|
||||
triggerAction(layer)
|
||||
}}
|
||||
onTouchEnd={(e) => {
|
||||
triggerAction(layer)
|
||||
e.preventDefault()
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src={layer.menuIcon}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user