Update Cached usage according to framework

This commit is contained in:
Thomas Müller
2017-07-02 13:00:02 +03:00
parent 2ba3c4b87a
commit 2d7eefa6fe
4 changed files with 21 additions and 12 deletions

View File

@ -77,7 +77,12 @@ namespace osu.Game.Screens.Play
protected override void Update()
{
base.Update();
layout.Refresh(recreateGraph);
if (!layout.IsValid)
{
recreateGraph();
layout.Validate();
}
}
/// <summary>