audio: align master-volume feedback tone and quiet chat history navigation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Maintainer-controlled web client version.
|
||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||
window.CHGRID_WEB_VERSION = "2026.02.22 R163";
|
||||
window.CHGRID_WEB_VERSION = "2026.02.22 R164";
|
||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||
|
||||
@@ -573,7 +573,13 @@ function navigateChatBuffer(target: 'prev' | 'next' | 'first' | 'last'): void {
|
||||
}
|
||||
|
||||
updateStatus(messageBuffer[messageCursor]);
|
||||
audio.sfxUiBlip();
|
||||
if (target === 'prev' || target === 'next') {
|
||||
const atStart = messageCursor === 0;
|
||||
const atEnd = messageCursor === messageBuffer.length - 1;
|
||||
if (atStart || atEnd) {
|
||||
audio.sfxUiBlip();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Updates compact input/output device summary labels in the pre-connect UI. */
|
||||
@@ -1288,7 +1294,7 @@ function handleNormalModeInput(code: string, shiftKey: boolean): void {
|
||||
const next = audio.adjustMasterVolume(step);
|
||||
persistMasterVolume(next);
|
||||
updateStatus(`Master volume ${next}`);
|
||||
audio.sfxUiBlip();
|
||||
audio.sfxEffectLevel(next === 50);
|
||||
return;
|
||||
}
|
||||
case 'openEffectSelect': {
|
||||
|
||||
Reference in New Issue
Block a user