mirror of https://github.com/ppy/osu
Move default `IgnoreUserSettings` value to construction
This commit is contained in:
parent
92fd34cea9
commit
6c5234f8da
|
@ -27,9 +27,12 @@ public class BackgroundScreenBeatmap : BackgroundScreen
|
|||
private WorkingBeatmap beatmap;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not user-configured settings relating to brightness of elements should be ignored
|
||||
/// Whether or not user-configured settings relating to brightness of elements should be ignored.
|
||||
/// </summary>
|
||||
public readonly Bindable<bool> IgnoreUserSettings = new Bindable<bool>();
|
||||
/// <remarks>
|
||||
/// Beatmap background screens should not apply user settings by default.
|
||||
/// </remarks>
|
||||
public readonly Bindable<bool> IgnoreUserSettings = new Bindable<bool>(true);
|
||||
|
||||
public readonly Bindable<bool> StoryboardReplacesBackground = new Bindable<bool>();
|
||||
|
||||
|
@ -50,9 +53,6 @@ public BackgroundScreenBeatmap(WorkingBeatmap beatmap = null)
|
|||
|
||||
InternalChild = dimmable = CreateFadeContainer();
|
||||
|
||||
// Beatmap background screens should not apply user settings by default.
|
||||
IgnoreUserSettings.Value = true;
|
||||
|
||||
dimmable.IgnoreUserSettings.BindTo(IgnoreUserSettings);
|
||||
dimmable.IsBreakTime.BindTo(IsBreakTime);
|
||||
dimmable.BlurAmount.BindTo(BlurAmount);
|
||||
|
|
Loading…
Reference in New Issue