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

Let's not construct scrolling containers in load() for now

This isn't utilized at the moment, and we should be avoiding this here in the first place.
This commit is contained in:
smoogipooo 2017-08-22 15:59:38 +09:00
parent 5fcd94880d
commit b7b8d8b764

View File

@ -51,11 +51,7 @@ namespace osu.Game.Rulesets.Timing
{
ControlPoint = controlPoint;
RelativeSizeAxes = Axes.Both;
}
[BackgroundDependencyLoader]
private void load()
{
scrollingContainer = CreateScrollingContainer();
scrollingContainer.ScrollingAxes = ScrollingAxes;