diff --git a/CHANGELOG.md b/CHANGELOG.md index f7a73cb..15ef91f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ - Fixed unnamed NPC names being announced as MISSING LABEL - Fixed aim analysis hint selection persisting when entering the quick menu - Fixed hint selecting persisting after the upgrade field in Rhombus Dungeon was used +- Fixed sound selection persisting after switching categories in the Sound Glossary ## [0.6.0] 2024-04-20 diff --git a/src/manuals/hud/sound-glossary.ts b/src/manuals/hud/sound-glossary.ts index adbe746..e503088 100644 --- a/src/manuals/hud/sound-glossary.ts +++ b/src/manuals/hud/sound-glossary.ts @@ -220,6 +220,7 @@ export class SoundGlossary { }, onLeftRightPress() { sc.BUTTON_SOUND.submit.play() + menu.stopSound() return { skipSounds: true } }, onContentCreation(index, settings) { @@ -276,8 +277,6 @@ export class SoundGlossary { }, hideMenu() { this.parent() - this.isEntrySelected = false - this.currentSelectedButton?.keepButtonPressed(false) this.stopSound() SpecialAction.setListener('LSP', 'soundglossary', () => {}) }, @@ -308,6 +307,8 @@ export class SoundGlossary { this.isSoundOn = true }, stopSound() { + this.isEntrySelected = false + this.currentSelectedButton?.keepButtonPressed(false) this.isSoundOn = false const entry = this.currentSelectedButton?.entry if (!entry) return