mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-12-03 04:47:16 -05:00
Reposition notes based on the configured input offset (so you still hit them when centered)
This commit is contained in:
parent
f474bc32a5
commit
17a15a3947
1 changed files with 2 additions and 1 deletions
|
@ -285,7 +285,8 @@ class Strumline extends FlxSpriteGroup
|
|||
var vwoosh:Float = 1.0;
|
||||
var scrollSpeed:Float = PlayState.instance?.currentChart?.scrollSpeed ?? 1.0;
|
||||
|
||||
return Constants.PIXELS_PER_MS * (conductorInUse.songPosition - strumTime) * scrollSpeed * vwoosh * (Preferences.downscroll ? 1 : -1);
|
||||
return
|
||||
Constants.PIXELS_PER_MS * (conductorInUse.songPosition - strumTime - Conductor.instance.inputOffset) * scrollSpeed * vwoosh * (Preferences.downscroll ? 1 : -1);
|
||||
}
|
||||
|
||||
function updateNotes():Void
|
||||
|
|
Loading…
Reference in a new issue