volume can now be adjusted with mousewheel
This commit is contained in:
parent
affc39e3fb
commit
6370cb4263
2 changed files with 8 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue