Music mute everywhere + card-draw SFX
- MusicToggle: global floating button (enable/disable music from any screen; hidden on the table, which has its own audio control in its HUD). Uses sound-store toggleMusic. - Card sounds now use a synthesized card-draw "swish" (filtered noise burst with a downward sweep) for cardPlay (+ soft landing tap) and deal (a flurry), replacing the old beep tones. Verified: tsc + next build pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ import { DailyRewardModal } from "@/components/online/DailyRewardModal";
|
||||
import { NotificationToaster } from "@/components/online/NotificationToaster";
|
||||
import { ResumeGameBar } from "@/components/online/ResumeGameBar";
|
||||
import { CelebrationOverlay } from "@/components/online/CelebrationOverlay";
|
||||
import { MusicToggle } from "@/components/online/MusicToggle";
|
||||
import { PublicProfileModal } from "@/components/online/PublicProfileModal";
|
||||
import { CapacitorBack } from "@/components/CapacitorBack";
|
||||
import { useSessionStore } from "@/lib/session-store";
|
||||
@@ -171,6 +172,7 @@ export default function Page() {
|
||||
<NotificationToaster />
|
||||
<ResumeGameBar />
|
||||
<CelebrationOverlay />
|
||||
<MusicToggle />
|
||||
<PublicProfileModal />
|
||||
<CapacitorBack />
|
||||
{loading && null}
|
||||
|
||||
Reference in New Issue
Block a user