mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Adjust colour and tween to feel better
This commit is contained in:
parent
24ee363563
commit
f7b7b58718
@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
protected override bool OnHover(HoverEvent e)
|
||||
{
|
||||
colouredDrawable.FadeColour(AccentColour.Lighten(0.4f), 150, Easing.OutQuint);
|
||||
colouredDrawable.FadeColour(AccentColour.Lighten(0.6f), 30, Easing.OutQuint);
|
||||
|
||||
return base.OnHover(e);
|
||||
}
|
||||
@ -180,7 +180,7 @@ namespace osu.Game.Overlays.Chat
|
||||
{
|
||||
base.OnHoverLost(e);
|
||||
|
||||
colouredDrawable.FadeColour(AccentColour, 250, Easing.OutQuint);
|
||||
colouredDrawable.FadeColour(AccentColour, 800, Easing.OutQuint);
|
||||
}
|
||||
|
||||
private static readonly Color4[] default_colours =
|
||||
|
Loading…
Reference in New Issue
Block a user