1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 04:19:54 +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
Unverified
parent df975fb29e
commit 7ab1c0c99d
@@ -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;