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:
parent
b57a78e637
commit
dd10ae6ba8
1 changed files with 184 additions and 183 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue