mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Fix test build failure
This commit is contained in:
parent
f241d67e5f
commit
79b12ef085
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user