1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:02:54 +08:00

fix wrong control flow on hover lost

This commit is contained in:
integer 2023-01-14 14:19:02 +00:00
parent c3c1d77e8e
commit 2831db53f7

View File

@ -29,12 +29,13 @@ namespace osu.Game.Screens.Play.PlayerSettings
protected override void OnHoverLost(HoverLostEvent e)
{
if (hoverExpandEvent == null) return;
if (hoverExpandEvent != null)
{
hoverExpandEvent?.Cancel();
hoverExpandEvent = null;
hoverExpandEvent?.Cancel();
hoverExpandEvent = null;
Expanded.Value = false;
Expanded.Value = false;
}
base.OnHoverLost(e);
}