mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 15:27:20 +08:00
Clean up debug logging
This commit is contained in:
parent
3208f1dde8
commit
eac7672c6b
@ -70,11 +70,7 @@ namespace osu.Game.Graphics.Containers
|
||||
dimLevel = config.GetBindable<double>(OsuSetting.DimLevel);
|
||||
blurLevel = config.GetBindable<double>(OsuSetting.BlurLevel);
|
||||
showStoryboard = config.GetBindable<bool>(OsuSetting.ShowStoryboard);
|
||||
EnableVisualSettings.ValueChanged += _ =>
|
||||
{
|
||||
Logger.Log("Oh fuck");
|
||||
UpdateVisuals();
|
||||
};
|
||||
EnableVisualSettings.ValueChanged += _ => UpdateVisuals();
|
||||
dimLevel.ValueChanged += _ => UpdateVisuals();
|
||||
blurLevel.ValueChanged += _ => UpdateVisuals();
|
||||
showStoryboard.ValueChanged += _ => UpdateVisuals();
|
||||
@ -105,8 +101,6 @@ namespace osu.Game.Graphics.Containers
|
||||
// We can't blur the container like we did with the dim because buffered containers add considerable draw overhead.
|
||||
// As a result, this blurs the background directly.
|
||||
((Background)c)?.BlurTo(BlurTarget, background_fade_duration, Easing.OutQuint);
|
||||
|
||||
Logger.Log("Enable visual settings: " + EnableVisualSettings.Value + " Added blur is: " + AddedBlur.Value);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -558,7 +558,6 @@ namespace osu.Game.Screens.Select
|
||||
backgroundModeBeatmap.Beatmap = beatmap;
|
||||
backgroundModeBeatmap.AddedBlur.Value = BACKGROUND_BLUR;
|
||||
backgroundModeBeatmap.FadeColour(Color4.White, 250);
|
||||
Logger.Log("blur updated!");
|
||||
}
|
||||
|
||||
beatmapInfoWedge.Beatmap = beatmap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user