mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Temporarily disable the config dialog and just map a tap of a controller element to move
This commit is contained in:
parent
63d6f3ac78
commit
b33eaec493
@ -207,6 +207,8 @@ public abstract class VirtualControllerElement extends View {
|
|||||||
startSize_x = getWidth();
|
startSize_x = getWidth();
|
||||||
startSize_y = getHeight();
|
startSize_y = getHeight();
|
||||||
|
|
||||||
|
actionEnableMove();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case MotionEvent.ACTION_MOVE: {
|
case MotionEvent.ACTION_MOVE: {
|
||||||
@ -236,8 +238,7 @@ public abstract class VirtualControllerElement extends View {
|
|||||||
case MotionEvent.ACTION_CANCEL:
|
case MotionEvent.ACTION_CANCEL:
|
||||||
case MotionEvent.ACTION_UP:
|
case MotionEvent.ACTION_UP:
|
||||||
case MotionEvent.ACTION_POINTER_UP: {
|
case MotionEvent.ACTION_POINTER_UP: {
|
||||||
currentMode = Mode.Normal;
|
actionCancel();
|
||||||
showConfigurationDialog();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user