From: david Date: Wed, 27 Mar 2002 22:34:43 +0000 (+0000) Subject: Fixed bug reported by Norman Vine: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2129aba6507b8631b5fb1a19a48c700aeaeb333e;p=flightgear.git Fixed bug reported by Norman Vine: Mouse was not working properly with PUI dialogs that use sliders. It turned out that the up/down sense was reversed. --- diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 6791b7459..59afa540c 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -1011,14 +1011,12 @@ GLUTspecialkeyup(int k, int x, int y) void GLUTmouse (int button, int updown, int x, int y) { - current_input.doMouseClick(button, updown == GLUT_DOWN, x, y); + current_input.doMouseClick(button, updown, x, y); } void GLUTmotion (int x, int y) { -// puMouse(x, y); -// glutPostRedisplay(); current_input.doMouseMotion(x, y); }