reverse wheel controls

This commit is contained in:
Bui 2022-02-16 14:55:44 +00:00
parent b893407013
commit eab03369c7

View File

@ -512,9 +512,9 @@ class SongSelect{
this.wheelTimer = this.getMS() this.wheelTimer = this.getMS()
if(event.deltaY < 0) { if(event.deltaY < 0) {
this.wheelScrolls++
}else if(event.deltaY > 0){
this.wheelScrolls-- this.wheelScrolls--
}else if(event.deltaY > 0){
this.wheelScrolls++
} }
} }
} }
@ -918,7 +918,7 @@ class SongSelect{
this.moveToSong(this.wheelScrolls) this.moveToSong(this.wheelScrolls)
this.wheelScrolls -= this.wheelScrolls this.wheelScrolls -= this.wheelScrolls
} }
if(!this.redrawRunning){ if(!this.redrawRunning){
return return
} }