From dc30bfde4d474ae98eefb75393c20ecfe2fe98f9 Mon Sep 17 00:00:00 2001 From: Jage9 Date: Sat, 21 Feb 2026 02:09:21 -0500 Subject: [PATCH] Make effect menu announce title only once --- client/public/version.js | 2 +- client/src/main.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/public/version.js b/client/public/version.js index 8e8a18f..bee3547 100644 --- a/client/public/version.js +++ b/client/public/version.js @@ -1,3 +1,3 @@ // Maintainer-controlled web client version. // Format: YYYY.MM.DD Rn (example: 2026.02.20 R2) -window.CHGRID_WEB_VERSION = "2026.02.21 R81"; +window.CHGRID_WEB_VERSION = "2026.02.21 R82"; diff --git a/client/src/main.ts b/client/src/main.ts index a7208b7..a204b7a 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -1635,7 +1635,7 @@ function handleEffectSelectModeInput(code: string, key: string): void { code === 'ArrowDown' ? (state.effectSelectIndex + 1) % EFFECT_SEQUENCE.length : (state.effectSelectIndex - 1 + EFFECT_SEQUENCE.length) % EFFECT_SEQUENCE.length; - updateStatus(`Select effect: ${EFFECT_SEQUENCE[state.effectSelectIndex].label}`); + updateStatus(EFFECT_SEQUENCE[state.effectSelectIndex].label); audio.sfxUiBlip(); return; } @@ -1648,7 +1648,7 @@ function handleEffectSelectModeInput(code: string, key: string): void { ); if (nextByInitial >= 0) { state.effectSelectIndex = nextByInitial; - updateStatus(`Select effect: ${EFFECT_SEQUENCE[state.effectSelectIndex].label}`); + updateStatus(EFFECT_SEQUENCE[state.effectSelectIndex].label); audio.sfxUiBlip(); return; }