mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-06-30 08:19:29 +02:00
reverse wheel controls
This commit is contained in:
parent
b893407013
commit
eab03369c7
|
@ -512,9 +512,9 @@ class SongSelect{
|
|||
this.wheelTimer = this.getMS()
|
||||
|
||||
if(event.deltaY < 0) {
|
||||
this.wheelScrolls++
|
||||
}else if(event.deltaY > 0){
|
||||
this.wheelScrolls--
|
||||
}else if(event.deltaY > 0){
|
||||
this.wheelScrolls++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -918,7 +918,7 @@ class SongSelect{
|
|||
this.moveToSong(this.wheelScrolls)
|
||||
this.wheelScrolls -= this.wheelScrolls
|
||||
}
|
||||
|
||||
|
||||
if(!this.redrawRunning){
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user