Merge pull request #5401 from gnattu/fix-scroll-osd
Prevent changing volume with mouse wheel when dialog is shown
This commit is contained in:
@@ -1351,6 +1351,7 @@ export default function (view) {
|
||||
}
|
||||
|
||||
function onWheel(e) {
|
||||
if (getOpenedDialog()) return;
|
||||
if (e.deltaY < 0) {
|
||||
playbackManager.volumeUp(currentPlayer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user