From 0def56d4765e846014a5684f8285dcde0f7ee7d7 Mon Sep 17 00:00:00 2001 From: argoneus Date: Mon, 15 Feb 2021 19:48:57 +0100 Subject: [PATCH 1/2] added czech --- Js/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Js/Main.js b/Js/Main.js index 495753a..7ba61db 100644 --- a/Js/Main.js +++ b/Js/Main.js @@ -10,7 +10,7 @@ const shaders = new Shaders(); const textFunc = new TextFunctions(); let audio = undefined; //Cant create a audio context without user input. const player = new Player(pixiApp, utage, textFunc, audio, shaders); -const languages = ["eng", "jpn", "rus", "enm", "kor", "zho"]; +const languages = ["eng", "jpn", "rus", "cze", "enm", "kor", "zho"]; const version = "YameteTomete XDUPlayer V1.5.0"; let bodyLoaded = false; let utageLoaded = false; -- 2.20.1 From 428ea1d660852ce612fd44f80ebc5391971f02ef Mon Sep 17 00:00:00 2001 From: argoneus Date: Mon, 15 Feb 2021 20:00:30 +0100 Subject: [PATCH 2/2] changed czech font to PTSans --- Css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Css/main.css b/Css/main.css index 2b293b9..779762e 100644 --- a/Css/main.css +++ b/Css/main.css @@ -84,6 +84,8 @@ body { margin: 0; height: 100%; } #text-container.rus { font-family: 'PTSans'; } +#text-container.cze { font-family: 'PTSans'; } + #text-container #fullscreen-button { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 30px; line-height: 30px; opacity: 0.35; z-index: 11; } #text-container #title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; font-size: 20px; transition: opacity 0.3s; cursor: default; user-select: none; } -- 2.20.1