mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Merge pull request #17981 from peppy/osu-button-click-flash
Fix all buttons gamewide not animating properly on click
This commit is contained in:
commit
c37e87d92f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user