mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +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)
|
protected override void OnHoverLost(HoverLostEvent e)
|
||||||
{
|
{
|
||||||
if (hoverExpandEvent == null) return;
|
if (hoverExpandEvent != null)
|
||||||
|
{
|
||||||
hoverExpandEvent?.Cancel();
|
hoverExpandEvent?.Cancel();
|
||||||
hoverExpandEvent = null;
|
hoverExpandEvent = null;
|
||||||
|
|
||||||
Expanded.Value = false;
|
Expanded.Value = false;
|
||||||
|
}
|
||||||
|
|
||||||
base.OnHoverLost(e);
|
base.OnHoverLost(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user