1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 20: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) protected override bool OnClick(ClickEvent e)
{ {
Circle.FlashColour(Colours.GrayF, 300);
Clicked?.Invoke(); Clicked?.Invoke();
TriggerAction(); TriggerAction();
@ -77,6 +75,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
internal void TriggerAction() internal void TriggerAction()
{ {
Circle.FlashColour(Colours.GrayF, 300);
TriggerOperationStarted(); TriggerOperationStarted();
Action?.Invoke(); Action?.Invoke();
TriggerOperationEnded(); TriggerOperationEnded();