mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:35:34 +08:00
Adjust song select background dimming to be more evenly applied
This commit is contained in:
parent
24961d1ac0
commit
19e3c5d33c
@ -767,6 +767,8 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
backgroundModeBeatmap.Beatmap = beatmap;
|
backgroundModeBeatmap.Beatmap = beatmap;
|
||||||
backgroundModeBeatmap.BlurAmount.Value = configBackgroundBlur.Value ? BACKGROUND_BLUR : 0f;
|
backgroundModeBeatmap.BlurAmount.Value = configBackgroundBlur.Value ? BACKGROUND_BLUR : 0f;
|
||||||
|
backgroundModeBeatmap.IgnoreUserSettings.Value = true;
|
||||||
|
backgroundModeBeatmap.DimWhenUserSettingsIgnored.Value = 0.4f;
|
||||||
backgroundModeBeatmap.FadeColour(Color4.White, 250);
|
backgroundModeBeatmap.FadeColour(Color4.White, 250);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Size = new Vector2(1, 0.5f),
|
Size = new Vector2(1, 0.5f),
|
||||||
Colour = Color4.Black.Opacity(0.5f),
|
Colour = Color4.Black.Opacity(0.2f),
|
||||||
Shear = new Vector2(0.15f, 0),
|
Shear = new Vector2(0.15f, 0),
|
||||||
EdgeSmoothness = new Vector2(2, 0),
|
EdgeSmoothness = new Vector2(2, 0),
|
||||||
},
|
},
|
||||||
@ -32,7 +32,7 @@ namespace osu.Game.Screens.Select
|
|||||||
RelativePositionAxes = Axes.Y,
|
RelativePositionAxes = Axes.Y,
|
||||||
Size = new Vector2(1, -0.5f),
|
Size = new Vector2(1, -0.5f),
|
||||||
Position = new Vector2(0, 1),
|
Position = new Vector2(0, 1),
|
||||||
Colour = Color4.Black.Opacity(0.5f),
|
Colour = Color4.Black.Opacity(0.2f),
|
||||||
Shear = new Vector2(-0.15f, 0),
|
Shear = new Vector2(-0.15f, 0),
|
||||||
EdgeSmoothness = new Vector2(2, 0),
|
EdgeSmoothness = new Vector2(2, 0),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user