mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Move position calculation to UpdateAfterChildren
Because we want this to occur after lifetimes have been evaluated.
This commit is contained in:
parent
210fd290e5
commit
c067ee5fbe
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user