fix usersetting

This commit is contained in:
Aotumuri
2026-01-12 12:24:04 +09:00
parent 4926388295
commit abfd5d4418
+11
View File
@@ -31,6 +31,7 @@ const DefaultKeybinds: Record<string, string> = {
attackRatioUp: "KeyY",
boatAttack: "KeyB",
groundAttack: "KeyG",
localAttack: "KeyL",
zoomOut: "KeyQ",
zoomIn: "KeyE",
centerCamera: "KeyC",
@@ -649,6 +650,16 @@ export class UserSettingModal extends BaseModal {
@change=${this.handleKeybindChange}
></setting-keybind>
<setting-keybind
action="localAttack"
label=${translateText("user_setting.local_attack")}
description=${translateText("user_setting.local_attack_desc")}
defaultKey="KeyL"
.value=${this.getKeyValue("localAttack")}
.display=${this.getKeyChar("localAttack")}
@change=${this.handleKeybindChange}
></setting-keybind>
<h2
class="text-blue-200 text-xl font-bold mt-8 mb-3 border-b border-white/10 pb-2"
>