|
4 | 4 | using System.Collections.Generic; |
5 | 5 | using osu.Framework.Allocation; |
6 | 6 | using osu.Framework.Bindables; |
| 7 | +using osu.Framework.Extensions.Color4Extensions; |
7 | 8 | using osu.Framework.Graphics; |
| 9 | +using osu.Framework.Graphics.Colour; |
8 | 10 | using osu.Framework.Graphics.Containers; |
9 | 11 | using osu.Framework.Graphics.Cursor; |
| 12 | +using osu.Framework.Graphics.Shapes; |
10 | 13 | using osu.Framework.Screens; |
11 | 14 | using osu.Game.Beatmaps; |
12 | 15 | using osu.Game.Graphics.Containers; |
@@ -69,6 +72,12 @@ private void load() |
69 | 72 | { |
70 | 73 | AddRangeInternal(new Drawable[] |
71 | 74 | { |
| 75 | + new Box |
| 76 | + { |
| 77 | + RelativeSizeAxes = Axes.Both, |
| 78 | + Width = 0.5f, |
| 79 | + Colour = ColourInfo.GradientHorizontal(Color4.Black.Opacity(0.5f), Color4.Black.Opacity(0f)), |
| 80 | + }, |
72 | 81 | new Container |
73 | 82 | { |
74 | 83 | RelativeSizeAxes = Axes.Both, |
@@ -246,6 +255,7 @@ private void updateScreenBackground() |
246 | 255 | { |
247 | 256 | backgroundModeBeatmap.Beatmap = Beatmap.Value; |
248 | 257 | backgroundModeBeatmap.DimWhenUserSettingsIgnored.Value = 0.25f; |
| 258 | + backgroundModeBeatmap.BlurAmount.Value = 0f; |
249 | 259 | backgroundModeBeatmap.IgnoreUserSettings.Value = true; |
250 | 260 | backgroundModeBeatmap.FadeColour(Color4.White, 250); |
251 | 261 | }); |
|
0 commit comments