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

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;