mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Flip X11 horizontal scroll axis.
This makes it more consistent with the vertical scroll axis and other platforms.
This commit is contained in:
parent
69e10b88b0
commit
8cf0469aa4
@ -607,9 +607,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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user