1
0
Fork 0

Patch from Andy Ross:

Indeed, there was no check for panel visibility in the input code.  I
guess we've never noticed because nothing was fighting for the same
real estate in the past.  This one-liner appears to fix the problem.

[also converted all tabs to spaces for Norm Vine]
This commit is contained in:
david 2002-11-05 02:28:07 +00:00
parent b57a78e637
commit dd10ae6ba8

View file

@ -379,6 +379,7 @@ FGInput::doMouseClick (int b, int updown, int x, int y)
if (puMouse(b, updown, x, y))
return;
else if ((current_panel != 0) &&
current_panel->getVisibility() &&
current_panel->doMouseAction(b, updown, x, y))
return;
else if (fgHandle3DPanelMouseEvent(b, updown, x, y))