1
0
Fork 0

fgPopup::checkHit(): revert r1.103 (consume mouse hits by default)

Can't reproduce the problem that r1.103 meant to fix, but it
caused another problem: MMB dragging events weren't passed,
so e.g. power lever control in the bo105 stopped working.
This commit is contained in:
mfranz 2009-01-24 23:22:58 +00:00 committed by Tim Moore
parent 35db06a4d6
commit 2e1cfcb83d

View file

@ -192,7 +192,7 @@ puObject *fgPopup::getActiveInputField(puObject *object)
*/ */
int fgPopup::checkHit(int button, int updown, int x, int y) int fgPopup::checkHit(int button, int updown, int x, int y)
{ {
int result = 1; int result = 0;
if (updown != PU_DRAG && !_dragging) if (updown != PU_DRAG && !_dragging)
result = puPopup::checkHit(button, updown, x, y); result = puPopup::checkHit(button, updown, x, y);