lower directional key hold delay

This commit is contained in:
Bui 2022-02-16 14:49:07 +00:00
parent c5b7906d4d
commit b893407013

View File

@ -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