1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 02:23:38 +08:00

Adjust colouring to work better across multiple usages

This commit is contained in:
Dean Herbert
2024-07-30 15:13:07 +09:00
Unverified
parent 1daeb7ebd0
commit bf10a91082
+3 -3
View File
@@ -123,13 +123,13 @@ namespace osu.Game.Overlays.Chat
background = new Container
{
Masking = true,
Blending = BlendingParameters.Additive,
CornerRadius = 4,
Alpha = 0,
RelativeSizeAxes = Axes.Both,
Blending = BlendingParameters.Additive,
Child = new Box
{
Colour = Color4.White,
Colour = Colour4.FromHex("#3b3234"),
RelativeSizeAxes = Axes.Both,
},
},
@@ -301,7 +301,7 @@ namespace osu.Game.Overlays.Chat
private void updateBackground()
{
if (background != null)
background.Alpha = alternatingBackground ? 0.03f : 0;
background.Alpha = alternatingBackground ? 0.2f : 0;
}
}
}