mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Move default IgnoreUserSettings
value to construction
This commit is contained in:
parent
92fd34cea9
commit
6c5234f8da
@ -27,9 +27,12 @@ namespace osu.Game.Screens.Backgrounds
|
||||
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 @@ namespace osu.Game.Screens.Backgrounds
|
||||
|
||||
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
Block a user