mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-14 12:04:51 +00:00
Fix rebinded keys (#4175)
> **Before opening a PR:** discuss new features on [Discord](https://discord.gg/K9zernJB5z) first, and file bugs or small improvements as [issues](https://github.com/openfrontio/OpenFrontIO/issues/new/choose). You must be assigned to an `approved` issue — unsolicited PRs will be auto-closed. **Add approved & assigned issue number here:** Resolves #4174 ## Description: I have fixed the rebinding of the keys for the build menu modifier and the emoji menu modifier in the settings so that they actually work. And cleaned up the code ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory ## Please put your Discord username so you can be contacted if a bug or regression is found: tktk1234567
This commit is contained in:
@@ -285,7 +285,7 @@ export class HelpModal extends BaseModal {
|
||||
<tr class="hover:bg-white/5 transition-colors">
|
||||
<td class="py-3 pl-4 border-b border-white/5">
|
||||
<div class="inline-flex items-center gap-2">
|
||||
${this.renderKey(keybinds.modifierKey)}
|
||||
${this.renderKey(keybinds.buildMenuModifier)}
|
||||
<span class="text-white/40 font-bold">+</span>
|
||||
<div
|
||||
class="w-5 h-8 border border-white/40 rounded-full relative"
|
||||
@@ -306,7 +306,7 @@ export class HelpModal extends BaseModal {
|
||||
<tr class="hover:bg-white/5 transition-colors">
|
||||
<td class="py-3 pl-4 border-b border-white/5">
|
||||
<div class="inline-flex items-center gap-2">
|
||||
${this.renderKey(keybinds.altKey)}
|
||||
${this.renderKey(keybinds.emojiMenuModifier)}
|
||||
<span class="text-white/40 font-bold">+</span>
|
||||
<div
|
||||
class="w-5 h-8 border border-white/40 rounded-full relative"
|
||||
|
||||
Reference in New Issue
Block a user