mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-08 07:15:15 -04:00
Fix fullscreen on some browsers, update packages (#1508)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user