Fix player hover touch control on android

This commit is contained in:
Zoe Roux 2023-12-13 19:43:48 +01:00
parent 60977f3631
commit c453422317

View File

@ -120,7 +120,8 @@ export const Hover = ({
left: 0, left: 0,
bottom: 0, bottom: 0,
right: 0, right: 0,
pointerEvents: "none", // box-none does not work on the web while none does not work on android
pointerEvents: Platform.OS === "web" ? "none" : "box-none",
})} })}
> >
<Back <Back