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:
parent
537973fc45
commit
88b9942b2a
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user