mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:43:22 +08:00
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 @@ namespace osu.Game.Overlays.Dialog
|
|||||||
{
|
{
|
||||||
if (actionInvoked) return;
|
if (actionInvoked) return;
|
||||||
|
|
||||||
Hide();
|
|
||||||
|
|
||||||
actionInvoked = true;
|
actionInvoked = true;
|
||||||
action?.Invoke();
|
action?.Invoke();
|
||||||
|
|
||||||
|
Hide();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user