mirror of https://github.com/ppy/osu
Fix overlay not disappearing when losing hover from the last pixel
OnMouseMove isn't invoked when hover is lost.
This commit is contained in:
parent
72aee8344e
commit
67a067ffa5
|
@ -156,6 +156,12 @@ protected override bool OnHover(InputState state)
|
|||
return true;
|
||||
}
|
||||
|
||||
protected override void OnHoverLost(InputState state)
|
||||
{
|
||||
schedulePopOut();
|
||||
base.OnHoverLost(state);
|
||||
}
|
||||
|
||||
private void schedulePopOut()
|
||||
{
|
||||
popOutDelegate?.Cancel();
|
||||
|
|
Loading…
Reference in New Issue