[Examples] Fixed Scroll.X/Y misreporting
Scroll.X and Y are no longer swapped.
This commit is contained in:
parent
d7e0373852
commit
0e48ad30d0
1 changed files with 4 additions and 4 deletions
|
@ -208,8 +208,8 @@ namespace Examples.Tests
|
|||
|
||||
void MouseDeviceWheelHandler(object sender, MouseWheelEventArgs e)
|
||||
{
|
||||
mousedevice_pos.Z = e.Mouse.Scroll.Y;
|
||||
mousedevice_pos.W = e.Mouse.Scroll.X;
|
||||
mousedevice_pos.Z = e.Mouse.Scroll.X;
|
||||
mousedevice_pos.W = e.Mouse.Scroll.Y;
|
||||
mousedevice_state = e.Mouse;
|
||||
}
|
||||
|
||||
|
@ -241,8 +241,8 @@ namespace Examples.Tests
|
|||
|
||||
void MouseWheelHandler(object sender, MouseWheelEventArgs e)
|
||||
{
|
||||
mouse_pos.Z = e.Mouse.Scroll.Y;
|
||||
mouse_pos.W = e.Mouse.Scroll.X;
|
||||
mouse_pos.Z = e.Mouse.Scroll.X;
|
||||
mouse_pos.W = e.Mouse.Scroll.Y;
|
||||
mouse_state = e.Mouse;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue