From ffc1499232736aa0bc47dfa46aa5c9dd60dd16c0 Mon Sep 17 00:00:00 2001 From: goddonebianu Date: Sat, 25 Oct 2025 09:01:48 +0800 Subject: [PATCH] ... --- src/app/alphabet/MemoryCard.tsx | 4 ++-- src/app/srt-player/UploadArea.tsx | 4 ++-- src/app/srt-player/VideoPlayer/VideoPanel.tsx | 10 +++++----- src/config/word-board-config.ts | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/alphabet/MemoryCard.tsx b/src/app/alphabet/MemoryCard.tsx index 00c5d0c..bae752c 100644 --- a/src/app/alphabet/MemoryCard.tsx +++ b/src/app/alphabet/MemoryCard.tsx @@ -34,7 +34,7 @@ export default function MemoryCard( } return (
) => e.preventDefault()}> -
+ {/*
setChosenAlphabet(null)}>
@@ -52,7 +52,7 @@ export default function MemoryCard( ) : (<>) }
-
+
*/} ); } \ No newline at end of file diff --git a/src/app/srt-player/UploadArea.tsx b/src/app/srt-player/UploadArea.tsx index af630f4..bb77811 100644 --- a/src/app/srt-player/UploadArea.tsx +++ b/src/app/srt-player/UploadArea.tsx @@ -45,8 +45,8 @@ export default function UploadArea( } return (
- +
) diff --git a/src/app/srt-player/VideoPlayer/VideoPanel.tsx b/src/app/srt-player/VideoPlayer/VideoPanel.tsx index 5137e27..137907c 100644 --- a/src/app/srt-player/VideoPlayer/VideoPanel.tsx +++ b/src/app/srt-player/VideoPlayer/VideoPanel.tsx @@ -162,11 +162,11 @@ const VideoPanel = forwardRef((
- - - - - + + + + +
{spanText} diff --git a/src/config/word-board-config.ts b/src/config/word-board-config.ts index 4c7b087..3fad102 100644 --- a/src/config/word-board-config.ts +++ b/src/config/word-board-config.ts @@ -1,4 +1,4 @@ -export const BOARD_WIDTH = window.innerWidth * 0.68; -export const BOARD_HEIGHT = window.innerHeight * 0.68; +export const BOARD_WIDTH = globalThis.innerWidth * 0.68; +export const BOARD_HEIGHT = globalThis.innerHeight * 0.68; export const TEXT_SIZE = 30; export const TEXT_WIDTH = TEXT_SIZE * 0.6; \ No newline at end of file