Added animation parameter

This commit is contained in:
MrTheMake 2017-06-24 13:47:34 +02:00
parent ba783f984c
commit d914a1b00e

View File

@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Settings
private readonly Box backgroundBox;
private readonly Box selectionIndicator;
private readonly Container text;
public Action<SettingsSection> Action;
public Action<SettingsSection, bool> Action;
private SettingsSection section;
public SettingsSection Section
@ -112,7 +112,7 @@ namespace osu.Game.Overlays.Settings
protected override bool OnClick(InputState state)
{
Action?.Invoke(section);
Action?.Invoke(section, true);
backgroundBox.FlashColour(Color4.White, 400);
return true;
}