mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Adjust health bar outer stroke colour
This commit is contained in:
parent
319208ca3d
commit
a331fb993a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user