Merge branch 'master' into catmull-sliders

This commit is contained in:
Dean Herbert 2018-02-01 21:21:25 +09:00 committed by GitHub
commit 002fe45741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -35,10 +35,6 @@ namespace osu.Game.Rulesets.Catch.UI
ScaledContent.AddRange(new Drawable[] ScaledContent.AddRange(new Drawable[]
{ {
content = new Container<Drawable>
{
RelativeSizeAxes = Axes.Both,
},
explodingFruitContainer = new Container explodingFruitContainer = new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
@ -49,7 +45,11 @@ namespace osu.Game.Rulesets.Catch.UI
ExplodingFruitTarget = explodingFruitContainer, ExplodingFruitTarget = explodingFruitContainer,
Anchor = Anchor.BottomLeft, Anchor = Anchor.BottomLeft,
Origin = Anchor.TopLeft, Origin = Anchor.TopLeft,
} },
content = new Container<Drawable>
{
RelativeSizeAxes = Axes.Both,
},
}); });
} }

View File

@ -84,9 +84,9 @@ namespace osu.Game.Rulesets.Catch.UI
} }
} }
protected override void Update() protected override void UpdateAfterChildren()
{ {
base.Update(); base.UpdateAfterChildren();
var state = GetContainingInputManager().CurrentState as CatchFramedReplayInputHandler.CatchReplayState; var state = GetContainingInputManager().CurrentState as CatchFramedReplayInputHandler.CatchReplayState;