Merge pull request #16201 from bdach/timeline-blueprint-contrast-improvement

Improve contrast of timeline blueprint foreground content for pastel combo colours
This commit is contained in:
Dan Balasescu
2021-12-22 11:33:29 +09:00
committed by GitHub

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;