volume can now be adjusted with mousewheel

This commit is contained in:
booploops 2022-01-04 22:56:52 -08:00
parent affc39e3fb
commit 6370cb4263
2 changed files with 8 additions and 1 deletions

View file

@ -2587,6 +2587,13 @@ const app = new Vue({
})
})
},
volumeWheel(event) {
if (event.deltaY < 0) {
this.mk.volume += 0.1;
} else if (event.deltaY > 0) {
this.mk.volume -= 0.1;
}
},
async apiCall(url, callback) {
const xmlHttp = new XMLHttpRequest();