From 2129aba6507b8631b5fb1a19a48c700aeaeb333e Mon Sep 17 00:00:00 2001 From: david Date: Wed, 27 Mar 2002 22:34:43 +0000 Subject: [PATCH] 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. --- src/Input/input.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }