mirror of
https://github.com/ppy/osu.git
synced 2025-02-26 23:22:55 +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)
|
||||
{
|
||||
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]
|
||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Graphics.Containers
|
||||
/// <summary>
|
||||
/// Whether or not user-configured dim levels should be applied to the container.
|
||||
/// </summary>
|
||||
public readonly Bindable<bool> EnableUserDim = new Bindable<bool>();
|
||||
public readonly Bindable<bool> EnableUserDim = new Bindable<bool>(true);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the storyboard loaded should completely hide the background behind it.
|
||||
|
Loading…
Reference in New Issue
Block a user