Mistake in change. The Debug.Print statement should not be there.

This commit is contained in:
Malcolm Still 2017-01-06 15:37:14 +00:00
parent bbbbc75e75
commit 64e6346ac4

View file

@ -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));
} }
} }