mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 14:25:35 +00:00
Mistake in change. The Debug.Print statement should not be there.
This commit is contained in:
parent
bbbbc75e75
commit
64e6346ac4
|
@ -487,12 +487,10 @@ namespace OpenTK.Platform.Linux
|
||||||
|
|
||||||
if (e.HasAxis(PointerAxis.HorizontalScroll))
|
if (e.HasAxis(PointerAxis.HorizontalScroll))
|
||||||
{
|
{
|
||||||
|
|
||||||
mouse.State.SetScrollRelative((float)e.AxisValue(PointerAxis.HorizontalScroll), 0);
|
mouse.State.SetScrollRelative((float)e.AxisValue(PointerAxis.HorizontalScroll), 0);
|
||||||
}
|
}
|
||||||
if (e.HasAxis(PointerAxis.VerticalScroll))
|
if (e.HasAxis(PointerAxis.VerticalScroll))
|
||||||
{
|
{
|
||||||
Debug.Print(e.AxisValue(PointerAxis.VerticalScroll));
|
|
||||||
mouse.State.SetScrollRelative(0, (float)e.AxisValue(PointerAxis.VerticalScroll));
|
mouse.State.SetScrollRelative(0, (float)e.AxisValue(PointerAxis.VerticalScroll));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue