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

Merge pull request #5401 from gnattu/fix-scroll-osd

Prevent changing volume with mouse wheel when dialog is shown
This commit is contained in:
Bill Thornton 2024-04-21 15:38:00 -04:00 committed by GitHub
commit 0b30ebdcbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1351,6 +1351,7 @@ export default function (view) {
} }
function onWheel(e) { function onWheel(e) {
if (getOpenedDialog()) return;
if (e.deltaY < 0) { if (e.deltaY < 0) {
playbackManager.volumeUp(currentPlayer); playbackManager.volumeUp(currentPlayer);
} }