mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +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){
|
keyPress(pressed, name, event, repeat){
|
||||||
if(pressed){
|
if(pressed){
|
||||||
if(!this.pressedKeys[name]){
|
if(!this.pressedKeys[name]){
|
||||||
this.pressedKeys[name] = this.getMS() + 300
|
this.pressedKeys[name] = this.getMS() + (name === "left" || name === "right" ? 150 : 300)
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
this.pressedKeys[name] = 0
|
this.pressedKeys[name] = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user