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={() => {
|
onClick={() => {
|
||||||
triggerAction(layer)
|
triggerAction(layer)
|
||||||
}}
|
}}
|
||||||
|
onTouchEnd={(e) => {
|
||||||
|
triggerAction(layer)
|
||||||
|
e.preventDefault()
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={layer.menuIcon}
|
src={layer.menuIcon}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user