Fix test build failure

This commit is contained in:
David Zhao 2019-02-18 15:29:39 +09:00
parent f241d67e5f
commit 79b12ef085

View File

@ -65,7 +65,7 @@ namespace osu.Game.Tests.Visual
{
public bool AssertDimState()
{
return FadeContainer.Colour == OsuColour.Gray(BackgroundOpacity);
return FadeContainer.Colour == OsuColour.Gray(1 - (float)DimLevel);
}
public bool AssertUndimmed()