mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
fix wrong control flow on hover lost
This commit is contained in:
parent
c3c1d77e8e
commit
2831db53f7
@ -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;
|
||||
|
||||
Expanded.Value = false;
|
||||
}
|
||||
|
||||
base.OnHoverLost(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user