mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
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 @@ namespace osu.Game.Overlays
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void OnHoverLost(InputState state)
|
||||
{
|
||||
schedulePopOut();
|
||||
base.OnHoverLost(state);
|
||||
}
|
||||
|
||||
private void schedulePopOut()
|
||||
{
|
||||
popOutDelegate?.Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user