1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:07:25 +08:00

Fix all buttons gamewide not animating properly on click

Not sure how or when this happened.
This commit is contained in:
Dean Herbert 2022-04-26 17:32:20 +09:00
parent dc0f1a9419
commit 4e260e7410

View File

@ -108,7 +108,7 @@ namespace osu.Game.Graphics.UserInterface
if (Enabled.Value)
{
Debug.Assert(backgroundColour != null);
Background.FlashColour(backgroundColour.Value, 200);
Background.FlashColour(backgroundColour.Value.Lighten(0.4f), 200);
}
return base.OnClick(e);