1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:35:10 +08:00

Move EnableUserDim check to defualt value of ShowDimContent

This commit is contained in:
iiSaLMaN 2019-08-08 17:07:06 +03:00
parent 537973fc45
commit 88b9942b2a
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ namespace osu.Game.Graphics.Containers
/// <summary>
/// Whether the content of this container should currently be visible.
/// </summary>
protected virtual bool ShowDimContent => true;
protected virtual bool ShowDimContent => !EnableUserDim.Value;
/// <summary>
/// Should be invoked when any dependent dim level or user setting is changed and bring the visual state up-to-date.

View File

@ -33,7 +33,7 @@ namespace osu.Game.Screens.Play
base.LoadComplete();
}
protected override bool ShowDimContent => ShowStoryboard.Value && UserDimLevel.Value < 1;
protected override bool ShowDimContent => base.ShowDimContent || ShowStoryboard.Value && UserDimLevel.Value < 1;
private void initializeStoryboard(bool async)
{