Use new invalidation rules

This commit is contained in:
Tom94
2017-06-08 09:53:45 +02:00
parent 8f909354bf
commit 5f7270ee4b
4 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ namespace osu.Game.Screens.Play
public override bool Invalidate(Invalidation invalidation = Invalidation.All, Drawable source = null, bool shallPropagate = true)
{
if ((invalidation & Invalidation.SizeInParentSpace) > 0)
if ((invalidation & Invalidation.DrawSize) > 0)
layout.Invalidate();
return base.Invalidate(invalidation, source, shallPropagate);
}