From b8934070137c670e3c4faa5adb624fca7126cccc Mon Sep 17 00:00:00 2001 From: Bui Date: Wed, 16 Feb 2022 14:49:07 +0000 Subject: [PATCH] lower directional key hold delay --- public/src/js/songselect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/songselect.js b/public/src/js/songselect.js index e65eceb..0a882c0 100644 --- a/public/src/js/songselect.js +++ b/public/src/js/songselect.js @@ -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