mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
SDL mouse wheel speed fix.
Default scroll speed wasn't delta-modified, so scroll gui controls were very slow when scrolled via mouse wheel.. This corrects the issue.
This commit is contained in:
parent
63ae781d24
commit
3aba4a7259
|
|
@ -434,7 +434,7 @@ void PlatformWindowSDL::_triggerMouseLocationNotify(const SDL_Event& evt)
|
|||
|
||||
void PlatformWindowSDL::_triggerMouseWheelNotify(const SDL_Event& evt)
|
||||
{
|
||||
wheelEvent.trigger(getWindowId(), 0, evt.wheel.x, evt.wheel.y);
|
||||
wheelEvent.trigger(getWindowId(), 0, evt.wheel.x, evt.wheel.y * WHEEL_DELTA);
|
||||
}
|
||||
|
||||
void PlatformWindowSDL::_triggerMouseButtonNotify(const SDL_Event& event)
|
||||
|
|
|
|||
Loading…
Reference in a new issue