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

Move position calculation to UpdateAfterChildren

Because we want this to occur after lifetimes have been evaluated.
This commit is contained in:
smoogipoo 2018-01-04 16:38:43 +09:00
parent 210fd290e5
commit c067ee5fbe

View File

@ -60,9 +60,9 @@ namespace osu.Game.Tests.Visual
RelativeSizeAxes = Axes.Both;
}
protected override void Update()
protected override void UpdateAfterChildren()
{
base.Update();
base.UpdateAfterChildren();
foreach (var obj in AliveObjects)
{