1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +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:
smoogipoo 2018-06-22 13:32:19 +09:00
parent 72aee8344e
commit 67a067ffa5

View File

@ -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();