1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:33:02 +08:00

Use correct representation colours

This commit is contained in:
Dean Herbert 2021-04-15 16:33:29 +09:00
parent da6f9060fa
commit 757475e6d4
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
return; return;
} }
Colour = controlPoints.Any(c => c is TimingControlPoint) ? colours.YellowDark : colours.Green; Colour = Group.ControlPoints.First().GetRepresentingColour(colours);
}, true); }, true);
} }
} }

View File

@ -38,6 +38,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
}, },
new Container new Container
{ {
Name = "centre line",
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = colours.Gray5, Colour = colours.Gray5,
Children = new Drawable[] Children = new Drawable[]