1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Show a different icon when the player is paused

This commit is contained in:
Vincent Lark 2023-10-19 19:18:03 +02:00 committed by Bill Thornton
parent 408b7c011a
commit efb4a92ba6
3 changed files with 6 additions and 0 deletions

View file

@ -525,6 +525,7 @@ export default function () {
if (img) {
img.classList.remove('lazy');
img.classList.add('playlistIndexIndicatorImage');
img.classList.toggle('playlistIndexIndicatorPausedImage', playbackManager.paused());
}
}
@ -598,6 +599,7 @@ export default function () {
function onPlayPauseStateChanged() {
updatePlayPauseState(this.paused(), true);
onPlaylistUpdate();
}
function onStateChanged(event, state) {