1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Adjust health bar outer stroke colour

This commit is contained in:
Salman Ahmed 2023-10-01 01:21:37 +03:00
parent 319208ca3d
commit a331fb993a

View File

@ -233,7 +233,7 @@ namespace osu.Game.Screens.Play.HUD
protected override Color4 ColourAt(float position) protected override Color4 ColourAt(float position)
{ {
if (position <= 0.128f) if (position <= 0.128f)
return Color4.White.Opacity(0.3f); return Color4.White.Opacity(0.5f);
position -= 0.128f; position -= 0.128f;
return Interpolation.ValueAt(Math.Clamp(position, 0f, 1f), Color4.White.Opacity(0.5f), Color4.Black.Opacity(0.5f), -0.75f, 1f, Easing.OutQuart); return Interpolation.ValueAt(Math.Clamp(position, 0f, 1f), Color4.White.Opacity(0.5f), Color4.Black.Opacity(0.5f), -0.75f, 1f, Easing.OutQuart);