no longer scroll past max volume lmaoo
This commit is contained in:
parent
69aa707e78
commit
8a6902d0af
1 changed files with 1 additions and 1 deletions
|
@ -3526,7 +3526,7 @@ const app = new Vue({
|
|||
return event.deltaY < 0;
|
||||
},
|
||||
volumeUp() {
|
||||
if ((app.mk.volume + app.cfg.audio.volumeStep) > 1) {
|
||||
if ((app.mk.volume + app.cfg.audio.volumeStep) > app.cfg.audio.maxVolume) {
|
||||
app.mk.volume = app.cfg.audio.maxVolume;
|
||||
console.log('setting max volume')
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue