fix: volume styling and mini bar switch bug

This commit is contained in:
Honey committed 2026-05-03 17:32:05 +02:00
1 parent 7744ae85db
commit f2c77f975d
2 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -263,8 +263,9 @@ export function absTogglePlay() {
}
export function absInterrupt() {
// Always hide the ABS bar when music takes over, regardless of ABS play state
if (_absMiniVisible) { _absMiniVisible = false; _renderMiniBar(); }
if (!S.absPlayer.item || !S.absPlayer.playing) return;
_absMiniVisible = false; // music is taking over — hide ABS bar until ABS plays again
_getAudio().pause();
}