mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
reverse wheel controls
This commit is contained in:
parent
b893407013
commit
eab03369c7
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user