InputRoll - only refresh on mouseLeave if necessary
This commit is contained in:
parent
098cac3f60
commit
c8c63f29f0
|
@ -1076,13 +1076,23 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
protected override void OnMouseLeave(EventArgs e)
|
||||
{
|
||||
bool refresh = false;
|
||||
_currentX = null;
|
||||
_currentY = null;
|
||||
if (IsHoveringOnColumnCell)
|
||||
{
|
||||
refresh = true;
|
||||
}
|
||||
|
||||
CurrentCell = null;
|
||||
IsPaintDown = false;
|
||||
_columnResizing = null;
|
||||
_hoverTimer.Stop();
|
||||
Refresh();
|
||||
if (refresh)
|
||||
{
|
||||
Refresh();
|
||||
}
|
||||
|
||||
base.OnMouseLeave(e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue