1
0
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:
Dean Herbert 2019-07-12 11:40:32 +09:00
parent 0d9f978857
commit b5ca7faca4
2 changed files with 1 additions and 5 deletions

View File

@ -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]

View File

@ -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.