From 6c5234f8daa605ffb936b492edd0e247ee71351a Mon Sep 17 00:00:00 2001 From: Salman Ahmed Date: Thu, 15 Apr 2021 08:04:03 +0300 Subject: [PATCH] Move default `IgnoreUserSettings` value to construction --- .../Screens/Backgrounds/BackgroundScreenBeatmap.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/osu.Game/Screens/Backgrounds/BackgroundScreenBeatmap.cs b/osu.Game/Screens/Backgrounds/BackgroundScreenBeatmap.cs index 02166644ab..65bc9cfaea 100644 --- a/osu.Game/Screens/Backgrounds/BackgroundScreenBeatmap.cs +++ b/osu.Game/Screens/Backgrounds/BackgroundScreenBeatmap.cs @@ -27,9 +27,12 @@ public class BackgroundScreenBeatmap : BackgroundScreen private WorkingBeatmap beatmap; /// - /// 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. /// - public readonly Bindable IgnoreUserSettings = new Bindable(); + /// + /// Beatmap background screens should not apply user settings by default. + /// + public readonly Bindable IgnoreUserSettings = new Bindable(true); public readonly Bindable StoryboardReplacesBackground = new Bindable(); @@ -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);