mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 17:42:54 +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)
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user