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.
This commit is contained in:
parent
36e012c400
commit
2129aba650
1 changed files with 1 additions and 3 deletions
|
@ -1011,14 +1011,12 @@ GLUTspecialkeyup(int k, int x, int y)
|
||||||
void
|
void
|
||||||
GLUTmouse (int button, int updown, int x, int y)
|
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
|
void
|
||||||
GLUTmotion (int x, int y)
|
GLUTmotion (int x, int y)
|
||||||
{
|
{
|
||||||
// puMouse(x, y);
|
|
||||||
// glutPostRedisplay();
|
|
||||||
current_input.doMouseMotion(x, y);
|
current_input.doMouseMotion(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue