Apply suggestions from code review

Co-Authored-By: nyquillerium <nyquill@ppy.sh>
This commit is contained in:
Dan Balasescu
2019-02-28 18:25:58 +09:00
committed by GitHub
parent b2872b47d0
commit 99812bd448
3 changed files with 10 additions and 9 deletions

View File

@ -18,11 +18,11 @@ namespace osu.Game.Screens.Backgrounds
/// <summary>
/// Whether or not user dim settings should be applied to this Background.
/// </summary>
public Bindable<bool> EnableUserDim = new Bindable<bool>();
public readonly Bindable<bool> EnableUserDim = new Bindable<bool>();
public Bindable<bool> StoryboardReplacesBackground = new Bindable<bool>();
public readonly Bindable<bool> StoryboardReplacesBackground = new Bindable<bool>();
protected UserDimContainer FadeContainer;
protected UserDimContainer FadeContainer { get; private set; }
protected virtual UserDimContainer CreateFadeContainer() => new UserDimContainer { RelativeSizeAxes = Axes.Both };