1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Set InvalidationSource to parent and clean up

This commit is contained in:
HiddenNode 2022-08-07 15:04:11 +01:00
parent ed86255e2b
commit cfd07cb366

View File

@ -17,7 +17,7 @@ namespace osu.Game.Graphics.Containers
AddLayout(layout);
}
private LayoutValue layout = new LayoutValue(Invalidation.DrawInfo);
private LayoutValue layout = new LayoutValue(Invalidation.DrawInfo, InvalidationSource.Parent);
protected override void Update()
{