Skip to content

fix(ui): don't duplicate sound when switching themes - #951

Merged
Wyvest merged 1 commit into
Polyfrost:v1from
saadndm:fix-sound
Aug 9, 2026
Merged

fix(ui): don't duplicate sound when switching themes#951
Wyvest merged 1 commit into
Polyfrost:v1from
saadndm:fix-sound

Conversation

@saadndm

@saadndm saadndm commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Description

  • Previously, .onClick always played CLICK, but switching theme families also played OPEN, causing duplicated sounds
  • Theme card now uses .clickable, and ThemeRegistry.activate plays either CLICK if within same family or OPEN when changing theme families

Related Issue(s)

Fixes #775

Checklist

  • I made a clear description of what was changed
  • I stated why these changes were necessary
  • I made sure these changes are backwards compatible
  • This pull request is for one feature/bug fix

@Wyvest Wyvest moved this to In progress in OneConfig Aug 9, 2026
@Wyvest
Wyvest merged commit 92b3126 into Polyfrost:v1 Aug 9, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in OneConfig Aug 9, 2026
@saadndm
saadndm deleted the fix-sound branch August 10, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[v2] Switching themes plays button click twice

2 participants