1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Fix height being set instead of width

This commit is contained in:
smoogipoo 2018-11-02 19:45:32 +09:00
parent 195f82fa96
commit 2f87f267a3

View File

@ -133,7 +133,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
break;
case ScrollingDirection.Left:
case ScrollingDirection.Right:
hitObject.Height = visualiser.GetLength(hitObject.HitObject.StartTime, endTime.EndTime, TimeRange, scrollLength);
hitObject.Width = visualiser.GetLength(hitObject.HitObject.StartTime, endTime.EndTime, TimeRange, scrollLength);
break;
}
}