Reversed x-axis scroll wheel to solve mqp panning issue

This commit is contained in:
Martin Proud 2017-06-04 12:37:31 -05:00
parent e6fce88d21
commit cfa2df194e

View file

@ -112,7 +112,7 @@ void controller_base::handle_event(const SDL_Event& event)
}
break;
case SDL_MOUSEWHEEL:
get_mouse_handler_base().mouse_wheel(event.wheel.x, event.wheel.y, is_browsing());
get_mouse_handler_base().mouse_wheel(-event.wheel.x, event.wheel.y, is_browsing());
break;
default:
break;