Mistake in change. The Debug.Print statement should not be there.
This commit is contained in:
parent
bbbbc75e75
commit
64e6346ac4
1 changed files with 0 additions and 2 deletions
|
@ -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