スクロール速度を変更できるようにする

This commit is contained in:
yuuki
2024-12-06 15:38:15 +09:00
parent 28ec3686d6
commit 10181f28d3

View File

@@ -362,8 +362,12 @@ class SongSelect{
focused: true, focused: true,
waitPreview: 0 waitPreview: 0
} }
let songSelectingSpeed = prompt("スクロール速度を入力してね!", 400);
if (songSelectingSpeed === null || songSelectingSpeed === "") {
songSelectingSpeed = 400;
}
this.songSelecting = { this.songSelecting = {
speed: 666, speed: songSelectingSpeed,
resize: 0.3, resize: 0.3,
scrollDelay: 0.1 scrollDelay: 0.1
} }