1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

Fix osu!catch autoplay missing bananas when running above 1x playback speed

This commit is contained in:
Dean Herbert 2018-02-01 19:22:31 +09:00
parent 9cc95e6e14
commit 468205d450
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;