mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Remove unnecessary check
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user