mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Skip sudden jump detection on distinct multitouch device"
This commit is contained in:
commit
fdb2225803
@ -141,6 +141,9 @@ public class LatinKeyboardView extends KeyboardView {
|
||||
* KeyboardView.
|
||||
*/
|
||||
private boolean handleSuddenJump(MotionEvent me) {
|
||||
// If device has distinct multi touch panel, there is no need to check sudden jump.
|
||||
if (hasDistinctMultitouch())
|
||||
return false;
|
||||
final int action = me.getAction();
|
||||
final int x = (int) me.getX();
|
||||
final int y = (int) me.getY();
|
||||
|
Loading…
x
Reference in New Issue
Block a user