We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b17aa5 commit 5475f5bCopy full SHA for 5475f5b
1 file changed
app/src/main/java/io/github/yawnoc/strokeinput/InputContainer.java
@@ -331,9 +331,9 @@ private boolean sendSinglePointerMotionEvent(
331
332
private boolean onSinglePointerTouchEvent(MotionEvent motionEvent) {
333
334
- int touchX = (int) motionEvent.getX() - getPaddingLeft();
335
- int touchY = (int) motionEvent.getY() - getPaddingTop();
336
- Keyboard.Key key = getKeyAtPoint(touchX, touchY);
+ int eventX = (int) motionEvent.getX() - getPaddingLeft();
+ int eventY = (int) motionEvent.getY() - getPaddingTop();
+ Keyboard.Key key = getKeyAtPoint(eventX, eventY);
337
String valueText = key.valueText;
338
339
int eventAction = motionEvent.getAction();
0 commit comments