1
0
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:
Marvin Schürz 2024-10-10 20:20:02 +02:00
parent 9cc6ee2ebc
commit fc7ad96fcd

View File

@ -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();