mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:15:37 +00:00
[SDL] Use h-wheel events
This commit is contained in:
parent
bb8dfe4304
commit
7eefb3e3ff
|
@ -87,7 +87,7 @@ namespace OpenTK.Platform.SDL2
|
|||
|
||||
public void ProcessWheelEvent(MouseWheelEvent wheel)
|
||||
{
|
||||
state.SetScrollRelative(0, wheel.Y);
|
||||
state.SetScrollRelative(wheel.X, wheel.Y);
|
||||
}
|
||||
|
||||
public void ProcessMouseEvent(MouseMotionEvent motion)
|
||||
|
|
Loading…
Reference in a new issue