mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Make toolbar buttons more independent logic-wise.
Also adds visual toggle state for toggleable buttons.
This commit is contained in:
@ -133,7 +133,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
protected override bool OnClick(InputState state)
|
||||
{
|
||||
Action?.Invoke();
|
||||
HoverBackground.FlashColour(new Color4(255, 255, 255, 180), 800, EasingTypes.OutQuint);
|
||||
HoverBackground.FlashColour(new Color4(255, 255, 255, 100), 500, EasingTypes.OutQuint);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user