Fixes video volume scroll from preventing vjs-menu scrolling (#1650)
This commit is contained in:
parent
218721c291
commit
4e5976c275
|
@ -466,7 +466,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
mouseScrollVolume: function (event) {
|
mouseScrollVolume: function (event) {
|
||||||
if (event.target) {
|
if (event.target && !event.currentTarget.querySelector('.vjs-menu:hover')) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
|
||||||
if (this.player.muted() && event.wheelDelta > 0) {
|
if (this.player.muted() && event.wheelDelta > 0) {
|
||||||
|
|
Loading…
Reference in New Issue