fix mouse flicker/disappearing problem
This commit is contained in:
parent
16d2de1a0f
commit
a59ae7cb92
1 changed files with 2 additions and 2 deletions
|
@ -294,9 +294,9 @@ int fgPopup::checkHit(int button, int updown, int x, int y)
|
||||||
setPosition(x + _dlgX - _startX, y + _dlgY - _startY);
|
setPosition(x + _dlgX - _startX, y + _dlgY - _startY);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else if (_dragging) {
|
||||||
_dragging = false;
|
|
||||||
fgSetMouseCursor(_start_cursor);
|
fgSetMouseCursor(_start_cursor);
|
||||||
|
_dragging = false;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue