mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Do not start text selection directly on LMB
This commit is contained in:
@@ -531,18 +531,11 @@ public final class TerminalView extends View {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (action == MotionEvent.ACTION_DOWN) {
|
|
||||||
// Start text selection with mouse. Note that the check against MotionEvent.ACTION_DOWN is
|
|
||||||
// important, since we otherwise would pick up secondary mouse button up actions.
|
|
||||||
toggleSelectingText(ev);
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
mGestureRecognizer.onTouchEvent(ev);
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
mGestureRecognizer.onTouchEvent(ev);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user