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

Closed
opened 2026-02-16 18:18:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10428

State: closed
Merged: Yes


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.

https://github.com/user-attachments/assets/baaa0c39-5758-4846-ac0c-a2b42a2c62d3

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

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10428 **State:** closed **Merged:** Yes --- 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. https://github.com/user-attachments/assets/baaa0c39-5758-4846-ac0c-a2b42a2c62d3 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
yindo added the pull-request label 2026-02-16 18:18:17 -05:00
yindo closed this issue 2026-02-16 18:18:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13436