Update JavaGUILauncherActivity.java

This commit is contained in:
SerpentSpirale 2022-03-25 17:27:43 +01:00 committed by Boulay Mathias
parent ba1d8db65e
commit f2adae6bcf

View File

@ -59,7 +59,7 @@ public class JavaGUILauncherActivity extends BaseActivity implements View.OnTouc
}); });
mTouchPad.setOnTouchListener(new View.OnTouchListener() { mTouchPad.setOnTouchListener(new View.OnTouchListener() {
float prevX, prevY; float prevX = 0, prevY = 0;
@Override @Override
public boolean onTouch(View v, MotionEvent event) { public boolean onTouch(View v, MotionEvent event) {
// MotionEvent reports input details from the touch screen // MotionEvent reports input details from the touch screen