mirror of
https://github.com/osukey/osukey.git
synced 2025-06-16 16:57:56 +09: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>
|
/// <summary>
|
||||||
/// Whether the content of this container should currently be visible.
|
/// Whether the content of this container should currently be visible.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual bool ShowDimContent => true;
|
protected virtual bool ShowDimContent => !EnableUserDim.Value;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Should be invoked when any dependent dim level or user setting is changed and bring the visual state up-to-date.
|
/// 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();
|
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)
|
private void initializeStoryboard(bool async)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user