mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Fixed X-axis scroll offset inversion (take two).
Fixed #239 (properly).
This commit is contained in:
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user