feat: add jackpot animations and enhance currency handling across components

- Introduced new CSS animations for jackpot effects to improve visual engagement.
- Integrated CurrencySwitcher into PlayerPanel and HallScreen for better currency management.
- Updated various components to utilize active player currency for consistent display.
- Enhanced event handling for currency changes to ensure real-time updates across the application.
This commit is contained in:
2026-05-25 14:31:38 +08:00
parent 2bf44e4c29
commit 9bd7cc9b9e
37 changed files with 1030 additions and 180 deletions

View File

@@ -50,6 +50,7 @@ export function useJackpotBurstLive(t: TFunction<"player">) {
setEvent(payload);
notifyBrowser(payload, t);
window.dispatchEvent(new Event("lottery-wallet-refresh"));
window.dispatchEvent(new Event("lottery-hall-refresh"));
},
[t],
);