mirror of https://github.com/ppy/osu
Fix selecting a button on a dialog causing both that button and exit to animate
This commit is contained in:
parent
5f33ab579e
commit
b33206c212
|
@ -69,10 +69,10 @@ public IEnumerable<PopupDialogButton> Buttons
|
|||
{
|
||||
if (actionInvoked) return;
|
||||
|
||||
Hide();
|
||||
|
||||
actionInvoked = true;
|
||||
action?.Invoke();
|
||||
|
||||
Hide();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue