mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Added animation parameter
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user