Fix right clicking inconsistency on different devices

This commit is contained in:
Cameron Gutman
2014-11-06 20:38:29 -08:00
parent 69ecf0251d
commit 9b58e7bb4d
2 changed files with 12 additions and 4 deletions

View File

@@ -21,6 +21,11 @@ public class TouchContext {
this.conn = conn;
this.actionIndex = actionIndex;
}
public int getActionIndex()
{
return actionIndex;
}
private boolean isTap()
{
@@ -84,10 +89,8 @@ public class TouchContext {
lastTouchX = eventX;
lastTouchY = eventY;
return true;
}
return false;
return true;
}
}