Remove unnecessary check

This commit is contained in:
iiSaLMaN 2019-08-08 17:29:52 +03:00
parent bedb744a2e
commit a3d90da7d4
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ protected override void LoadComplete()
/// </summary>
protected virtual void UpdateVisuals()
{
ContentDisplayed = !EnableUserDim.Value || ShowDimContent;
ContentDisplayed = ShowDimContent;
dimContent.FadeTo(ContentDisplayed ? 1 : 0, BACKGROUND_FADE_DURATION, Easing.OutQuint);
dimContent.FadeColour(EnableUserDim.Value ? OsuColour.Gray(1 - (float)UserDimLevel.Value) : Color4.White, BACKGROUND_FADE_DURATION, Easing.OutQuint);