lock at 1 snap for now

This commit is contained in:
Kade M 2021-05-24 20:45:15 -07:00
parent 99e5ac3c85
commit e02d9a546f

View File

@ -651,14 +651,14 @@ class ChartingState extends MusicBeatState
writingNotes = !writingNotes;
}
if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.RIGHT)
/*if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.RIGHT)
snap = snap * 2;
if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.LEFT)
snap = Math.round(snap / 2);
if (snap >= 192)
snap = 192;
if (snap <= 1)
snap = 1;
snap = 1;*/
Conductor.songPosition = FlxG.sound.music.time;
_song.song = typingShit.text;
@ -921,7 +921,7 @@ class ChartingState extends MusicBeatState
FlxG.sound.music.pause();
vocals.pause();
FlxG.sound.music.time += (FlxG.mouse.wheel * Conductor.stepCrochet / snap);
FlxG.sound.music.time = curStep * Conductor.stepCrochet - (FlxG.mouse.wheel * Conductor.stepCrochet / snap);
vocals.time = FlxG.sound.music.time;
}