Fix fullscreen on some browsers, update packages (#1508)

This commit is contained in:
Zoe Roux
2026-05-20 22:03:41 +02:00
committed by GitHub
parent dbd3a41823
commit 2c11c3013e
4 changed files with 252 additions and 303 deletions
@@ -9,6 +9,7 @@ import fr from "../../public/translations/fr.json";
import gl from "../../public/translations/gl.json";
import is from "../../public/translations/is.json";
import it from "../../public/translations/it.json";
import ja from "../../public/translations/ja.json";
import ko from "../../public/translations/ko.json";
import ml from "../../public/translations/ml.json";
import nl from "../../public/translations/nl.json";
@@ -32,6 +33,7 @@ export const resources = {
gl: { translation: gl },
is: { translation: is },
it: { translation: it },
ja: { translation: ja },
ko: { translation: ko },
ml: { translation: ml },
nl: { translation: nl },
@@ -56,6 +58,7 @@ export const supportedLanguages = [
"gl",
"is",
"it",
"ja",
"ko",
"ml",
"nl",
+2 -2
View File
@@ -94,8 +94,8 @@ export const TouchControls = ({
if (e.nativeEvent.pointerType === "mouse") show(false);
}}
className={cn(
"absolute inset-0 cursor-default",
!shouldShow && "cursor-none",
"absolute inset-0 cursor-default!",
!shouldShow && "cursor-none!",
)}
/>
{shouldShow && children}