A tiny handle view pos fix

This commit is contained in:
Duy Tran Khanh 2021-01-15 13:10:50 +07:00 committed by GitHub
parent 84f1c4a560
commit b3bb01b0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ public abstract class HandleView extends View implements ViewPositionListener, V
public abstract void updatePosition(float x, float y);
protected void positionAtCursorOffset(int offset, boolean parentScrolled) {
mPositionX = (int) (mView.getWidth() / 1.1);
mPositionX = mView.getWidth();
mPositionY = mView.getHeight();
mPositionHasChanged = true;