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:
parent
ed86255e2b
commit
cfd07cb366
@ -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()
|
||||
{
|
Loading…
Reference in New Issue
Block a user