mirror of
https://github.com/ppy/osu.git
synced 2025-02-26 22:43:21 +08:00
Move default value for EnableUserDim to base class
This commit is contained in:
parent
0d9f978857
commit
b5ca7faca4
@ -18,10 +18,6 @@ namespace osu.Game.Graphics.Containers
|
|||||||
public DimmableStoryboardContainer(Storyboard storyboard)
|
public DimmableStoryboardContainer(Storyboard storyboard)
|
||||||
{
|
{
|
||||||
this.storyboard = storyboard;
|
this.storyboard = storyboard;
|
||||||
|
|
||||||
// Storyboards current do not get used in scenarios without user dim, so default to enabled here.
|
|
||||||
EnableUserDim.Default = true;
|
|
||||||
EnableUserDim.Value = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether or not user-configured dim levels should be applied to the container.
|
/// Whether or not user-configured dim levels should be applied to the container.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly Bindable<bool> EnableUserDim = new Bindable<bool>();
|
public readonly Bindable<bool> EnableUserDim = new Bindable<bool>(true);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether or not the storyboard loaded should completely hide the background behind it.
|
/// Whether or not the storyboard loaded should completely hide the background behind it.
|
||||||
|
Loading…
Reference in New Issue
Block a user