1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 13:27:25 +08:00

Adjust break colours to match closer to stable

This commit is contained in:
Dean Herbert 2024-06-19 22:02:10 +08:00
parent 617c1341d7
commit a718af8af5
No known key found for this signature in database
2 changed files with 4 additions and 8 deletions

View File

@ -32,12 +32,8 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
private partial class BreakVisualisation : Circle
{
private readonly BreakPeriod breakPeriod;
public BreakVisualisation(BreakPeriod breakPeriod)
{
this.breakPeriod = breakPeriod;
RelativePositionAxes = Axes.X;
RelativeSizeAxes = Axes.Both;
X = (float)breakPeriod.StartTime;
@ -45,7 +41,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
}
[BackgroundDependencyLoader]
private void load(OsuColour colours) => Colour = colours.GreyCarmineLight;
private void load(OsuColour colours) => Colour = colours.Gray7;
}
}
}

View File

@ -45,8 +45,8 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
Child = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = colours.PurpleLight,
Alpha = 0.4f,
Colour = colours.Gray5,
Alpha = 0.7f,
},
},
new DragHandle(isStartHandle: true)
@ -212,7 +212,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
bool active = IsHovered || IsDragged;
var colour = colours.PurpleLighter;
var colour = colours.Gray8;
if (active)
colour = colour.Lighten(0.3f);