mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-28 05:45:03 -06:00
Fix: Scroll inside menus
Turns out I crossed the axis...
This commit is contained in:
parent
9459bb8d24
commit
ca2e9f8199
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ public class MinecraftGLSurface extends View implements GrabListener{
|
|||
CallbackBridge.DEBUG_STRING.setLength(0);
|
||||
return true;
|
||||
case MotionEvent.ACTION_SCROLL:
|
||||
CallbackBridge.sendScroll((double) event.getAxisValue(MotionEvent.AXIS_VSCROLL), (double) event.getAxisValue(MotionEvent.AXIS_HSCROLL));
|
||||
CallbackBridge.sendScroll((double) event.getAxisValue(MotionEvent.AXIS_HSCROLL), (double) event.getAxisValue(MotionEvent.AXIS_VSCROLL));
|
||||
return true;
|
||||
case MotionEvent.ACTION_BUTTON_PRESS:
|
||||
return sendMouseButtonUnconverted(event.getActionButton(),true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue