Partial fix for music

Same problems as video when on nowplaying.html, all other pages are still behaving as before (when the playback bar is along the bottom).
This commit is contained in:
Sparky 2019-02-02 12:26:08 -05:00
parent 97ee1d10c6
commit 8a868f9109
2 changed files with 3 additions and 3 deletions

View File

@ -186,7 +186,7 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
volumeSliderContainer.classList.remove('hide');
}
volumeSlider.addEventListener('change', function () {
volumeSlider.addEventListener('mousemove', function () {
if (currentPlayer) {
currentPlayer.setVolume(this.value);
@ -779,4 +779,4 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
}
}
});
});
});

View File

@ -605,7 +605,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
return datetime.getDisplayRunningTime(ticks);
};
context.querySelector(".nowPlayingVolumeSlider").addEventListener("change", function () {
context.querySelector(".nowPlayingVolumeSlider").addEventListener("mousemove", function () {
playbackManager.setVolume(this.value, currentPlayer);
});
context.querySelector(".buttonMute").addEventListener("click", function () {