1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 15:27:30 +08:00

Change colour to match bottom timeline (and adjust tween sligthly)

This commit is contained in:
Dean Herbert 2024-06-19 20:30:43 +08:00
parent f88f05717a
commit 00a866b699
No known key found for this signature in database

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
Child = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = colours.GreyCarmineLight,
Colour = colours.PurpleLight,
Alpha = 0.4f,
},
},
@ -204,12 +204,12 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
bool active = IsHovered || IsDragged;
var colour = colours.GreyCarmineLighter;
var colour = colours.PurpleLighter;
if (active)
colour = colour.Lighten(0.3f);
this.FadeColour(colour, 400, Easing.OutQuint);
handle.ResizeWidthTo(active ? 20 : 10, 400, Easing.OutElastic);
handle.ResizeWidthTo(active ? 20 : 10, 400, Easing.OutElasticHalf);
}
}
}