mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 18:16:38 +00:00
fix usersetting
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user