Skip to content

Commit 1b9f5c6

Browse files
Kade-githubHundrec
authored andcommitted
Fix a bug with Lag Adjustment strumline
1 parent a0a57ca commit 1b9f5c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/funkin/ui/options/OffsetMenu.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ class OffsetMenu extends Page<OptionsState.OptionsMenuPageName>
394394
if (ControlsHandler.usingExternalInputDevice)
395395
{
396396
#end
397-
testStrumline.y = Preferences.downscroll ? FlxG.height - (testStrumline.height + 45) - Constants.STRUMLINE_Y_OFFSET : (testStrumline.height / 2)
397+
var height = testStrumline.strumlineNotes.members[0].height;
398+
testStrumline.y = Preferences.downscroll ? FlxG.height - (height + 45) - Constants.STRUMLINE_Y_OFFSET : (height / 2)
398399
- Constants.STRUMLINE_Y_OFFSET;
399400
if (Preferences.downscroll) jumpInText.y = FlxG.height - 425;
400401
testStrumline.isDownscroll = Preferences.downscroll;

0 commit comments

Comments
 (0)