mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Adjust break colours to match closer to stable
This commit is contained in:
parent
617c1341d7
commit
a718af8af5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user