Temporarily disable the config dialog and just map a tap of a controller element to move

This commit is contained in:
Cameron Gutman 2016-01-19 19:58:11 -05:00
parent 63d6f3ac78
commit b33eaec493

View File

@ -207,6 +207,8 @@ public abstract class VirtualControllerElement extends View {
startSize_x = getWidth();
startSize_y = getHeight();
actionEnableMove();
return true;
}
case MotionEvent.ACTION_MOVE: {
@ -236,8 +238,7 @@ public abstract class VirtualControllerElement extends View {
case MotionEvent.ACTION_CANCEL:
case MotionEvent.ACTION_UP:
case MotionEvent.ACTION_POINTER_UP: {
currentMode = Mode.Normal;
showConfigurationDialog();
actionCancel();
return true;
}
default: {