mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
lower directional key hold delay
This commit is contained in:
parent
c5b7906d4d
commit
b893407013
@ -360,7 +360,7 @@ class SongSelect{
|
||||
keyPress(pressed, name, event, repeat){
|
||||
if(pressed){
|
||||
if(!this.pressedKeys[name]){
|
||||
this.pressedKeys[name] = this.getMS() + 300
|
||||
this.pressedKeys[name] = this.getMS() + (name === "left" || name === "right" ? 150 : 300)
|
||||
}
|
||||
}else{
|
||||
this.pressedKeys[name] = 0
|
||||
|
Loading…
Reference in New Issue
Block a user