Merge "Don't show magnifier with animation for the new fisheye magnifier."

This commit is contained in:
Shu Chen
2020-02-12 01:09:17 +00:00
committed by Android (Google) Code Review

View File

@@ -5111,8 +5111,10 @@ public class Editor {
int lineRight = (int) layout.getLineRight(line);
lineRight += mTextView.getTotalPaddingLeft() - mTextView.getScrollX();
mMagnifierAnimator.mMagnifier.setSourceHorizontalBounds(lineLeft, lineRight);
mMagnifierAnimator.mMagnifier.show(showPosInView.x, showPosInView.y);
} else {
mMagnifierAnimator.show(showPosInView.x, showPosInView.y);
}
mMagnifierAnimator.show(showPosInView.x, showPosInView.y);
updateHandlesVisibility();
} else {
dismissMagnifier();