Skip to content

Commit

Permalink
Adjust colouring to work better across multiple usages
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jul 30, 2024
1 parent 1daeb7e commit 163a728
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions osu.Game/Overlays/Chat/ChatLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,12 @@ private void load(OsuConfigManager configManager)
background = new Container
{
Masking = true,
Blending = BlendingParameters.Additive,
CornerRadius = 4,
Alpha = 0,
RelativeSizeAxes = Axes.Both,
Child = new Box
{
Colour = Color4.White,
Colour = Colour4.FromHex("#3b3234"),
RelativeSizeAxes = Axes.Both,
},
},
Expand Down Expand Up @@ -301,7 +300,7 @@ private void updateTimestamp()
private void updateBackground()
{
if (background != null)
background.Alpha = alternatingBackground ? 0.03f : 0;
background.Alpha = alternatingBackground ? 0.5f : 0;
}
}
}

0 comments on commit 163a728

Please sign in to comment.