From bf828bcacf509272e058aa6af18a7a338aeddfd2 Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Mon, 7 Aug 2023 23:50:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=9A=84=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- idea.md | 2 +- src/core/main/setting.ts | 3 +++ src/data/settings.json | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/idea.md b/idea.md index cf468dd..f7cc87f 100644 --- a/idea.md +++ b/idea.md @@ -70,7 +70,7 @@ dam4.png ---- 存档 59 [] 小地图显示框,可以选择是否显示剩余怪物数量等 [x] 怪物死亡特效 [] 区域名称显示特效,3D 粒子特效 -[] 单独的工具栏 +[] 单独的工具栏,可以自定义按键 [] 完全 ts 化 [] 平行光 [] 视角控制系统 diff --git a/src/core/main/setting.ts b/src/core/main/setting.ts index aa5af11..40f5491 100644 --- a/src/core/main/setting.ts +++ b/src/core/main/setting.ts @@ -384,6 +384,9 @@ mainSetting .register('hotkey', '快捷键', false) .markSpecial('hotkey', 'hotkey') .setDisplayFunc('hotkey', () => '') + .register('toolbar', '自定义工具栏', false) + .markSpecial('toolbar', 'toolbar') + .setDisplayFunc('toolbar', () => '') ) .register( 'utils', diff --git a/src/data/settings.json b/src/data/settings.json index 3a95e85..144ba27 100644 --- a/src/data/settings.json +++ b/src/data/settings.json @@ -31,7 +31,11 @@ "
", "注:当鼠标移动到怪物上时,经过200毫秒才会显示信息,防止误操作。" ], - "hotkey": ["设置游戏中会用到的一些快捷键"] + "hotkey": ["设置游戏中会用到的一些快捷键"], + "toolbar": [ + "允许你在工具栏上自定义按钮,包括使用道具、开关技能、按下某个按键等。", + "推荐手机进行一些设置" + ] }, "utils": { "betterLoad": [