mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 14:22:55 +08:00
Move circle flash to TriggerAction
This commit is contained in:
parent
9cc6ee2ebc
commit
fc7ad96fcd
@ -51,8 +51,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
{
|
||||
Circle.FlashColour(Colours.GrayF, 300);
|
||||
|
||||
Clicked?.Invoke();
|
||||
|
||||
TriggerAction();
|
||||
@ -77,6 +75,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
internal void TriggerAction()
|
||||
{
|
||||
Circle.FlashColour(Colours.GrayF, 300);
|
||||
|
||||
TriggerOperationStarted();
|
||||
Action?.Invoke();
|
||||
TriggerOperationEnded();
|
||||
|
Loading…
Reference in New Issue
Block a user