Skip to content

fix: add state to pause existing audio for demo menus, add support fo…#10428

Merged
adamdotdevin merged 1 commit intoanomalyco:devfrom
jcampuza:fix/play-demo-sounds-for-keyboard-nav-and-fix-overlapping-sounds
Jan 24, 2026
Merged

fix: add state to pause existing audio for demo menus, add support fo…#10428
adamdotdevin merged 1 commit intoanomalyco:devfrom
jcampuza:fix/play-demo-sounds-for-keyboard-nav-and-fix-overlapping-sounds

Conversation

@jcampuza
Copy link
Contributor

@jcampuza jcampuza commented Jan 24, 2026

Fixes #10427

What does this PR do?

This PR fixes an issue where in the desktop app sounds would overlap while hovering over the demo sound menus with the pointer causing a bunch of annoying sounds to overlay.

It also addresses navigating the menus with the keyboard not playing the sounds.

How did you verify your code works?

I tested it myself in the app.

Screen.Recording.2026-01-24.at.12.11.17.PM.mov

NOTE: The above screen recording has sound. When navigating the menus now the sounds don't all immediately overlap since we pause the existing sound and also add a slight delay before playing to prevent more overlap.

Also via you can see when I use the keyboard the sounds are playing

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@adamdotdevin adamdotdevin merged commit 15801a0 into anomalyco:dev Jan 24, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App/Desktop settings sound effects don't play when using keyboard to navigate menus and overlap when scrolling the menu quickly

2 participants