Merge pull request #2001 from peppy/fix-catch-autoplay-misses

Fix osu!catch autoplay missing bananas when running above 1x playback speed
This commit is contained in:
Dean Herbert
2018-02-01 21:20:52 +09:00
committed by GitHub
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[]
{
content = new Container<Drawable>
{
RelativeSizeAxes = Axes.Both,
},
explodingFruitContainer = new Container
{
RelativeSizeAxes = Axes.Both,
@ -49,7 +45,11 @@ namespace osu.Game.Rulesets.Catch.UI
ExplodingFruitTarget = explodingFruitContainer,
Anchor = Anchor.BottomLeft,
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;