From 46f027f6977531067b78c56ec9f612ebedc4eb50 Mon Sep 17 00:00:00 2001 From: goddonebianu Date: Fri, 26 Sep 2025 09:55:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/changelog.txt | 2 ++ src/constants.ts | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 public/changelog.txt create mode 100644 src/constants.ts diff --git a/public/changelog.txt b/public/changelog.txt new file mode 100644 index 0000000..13426c6 --- /dev/null +++ b/public/changelog.txt @@ -0,0 +1,2 @@ +2025.09.19 更新了单词板,单词不再会重叠。 +2025.09.25 优化了主界面UI diff --git a/src/constants.ts b/src/constants.ts new file mode 100644 index 0000000..a01d175 --- /dev/null +++ b/src/constants.ts @@ -0,0 +1,4 @@ +export const BOARD_WIDTH = 1000; +export const BOARD_HEIGHT = 600; +export const TEXT_SIZE = 30; +export const TEXT_WIDTH = TEXT_SIZE * 0.6; \ No newline at end of file