Fix osu!mania hold notes sometimes looking incorrect after rewind

This commit is contained in:
Dean Herbert 2023-06-16 14:54:19 +09:00
parent f5eb629709
commit b5de109cb3

View File

@ -254,6 +254,8 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
float yOffset = Direction.Value == ScrollingDirection.Up ? -Y : Y; float yOffset = Direction.Value == ScrollingDirection.Up ? -Y : Y;
sizingContainer.Height = 1 - yOffset / DrawHeight; sizingContainer.Height = 1 - yOffset / DrawHeight;
} }
else
sizingContainer.Height = 1;
} }
protected override void CheckForResult(bool userTriggered, double timeOffset) protected override void CheckForResult(bool userTriggered, double timeOffset)