Fixed X-axis scroll offset inversion (take two).

Fixed #239 (properly).
This commit is contained in:
Camilla Berglund
2014-10-26 13:53:45 +01:00
parent b4c4ba0439
commit 4c64e94d39
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -949,9 +949,9 @@ static void processEvent(XEvent *event)
else if (event->xbutton.button == Button5)
_glfwInputScroll(window, 0.0, -1.0);
else if (event->xbutton.button == Button6)
_glfwInputScroll(window, -1.0, 0.0);
else if (event->xbutton.button == Button7)
_glfwInputScroll(window, 1.0, 0.0);
else if (event->xbutton.button == Button7)
_glfwInputScroll(window, -1.0, 0.0);
else
{