Skip to content

Commit 1410615

Browse files
committed
Not change text size when text
1 parent b6aee4d commit 1410615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libeditor/src/main/java/com/duy/ide/editor/view/ZoomSupportEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public boolean performLongClick() {
103103

104104
@Override
105105
public boolean onTouchEvent(MotionEvent ev) {
106-
if (mScaleDetector != null && mPreferences.isTouchScaleTextSize()) {
106+
if (!hasSelection() && mScaleDetector != null && mPreferences.isTouchScaleTextSize()) {
107107
mScaleDetector.onTouchEvent(ev);
108108
}
109109

0 commit comments

Comments
 (0)