mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Remove unnecessary check
This commit is contained in:
parent
bedb744a2e
commit
a3d90da7d4
@ -76,7 +76,7 @@ namespace osu.Game.Graphics.Containers
|
||||
/// </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);
|
||||
|
Loading…
Reference in New Issue
Block a user