1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Improve contrast of timeline blueprint foreground content for pastel combo colours

This commit is contained in:
Bartłomiej Dach 2021-12-21 12:54:17 +01:00
parent df975fb29e
commit 7ab1c0c99d
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -177,8 +177,8 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
else
circle.Colour = colour;
var col = circle.Colour.TopLeft.Linear;
colouredComponents.Colour = OsuColour.ForegroundTextColourFor(col);
var averageColour = Interpolation.ValueAt(0.5, circle.Colour.TopLeft, circle.Colour.TopRight, 0, 1);
colouredComponents.Colour = OsuColour.ForegroundTextColourFor(averageColour);
}
private SamplePointPiece sampleOverrideDisplay;