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; break;
case ScrollingDirection.Left: case ScrollingDirection.Left:
case ScrollingDirection.Right: 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; break;
} }
} }