Selection mode fling

This commit is contained in:
mao
2019-10-05 18:30:54 +08:00
committed by Leonid Plyushch
parent 951df6b4e2
commit e47bd31681

View File

@@ -153,7 +153,7 @@ public final class TerminalView extends View {
@Override
public boolean onFling(final MotionEvent e2, float velocityX, float velocityY) {
if (mEmulator == null || mIsSelectingText) return true;
if (mEmulator == null) return true;
// Do not start scrolling until last fling has been taken care of:
if (!mScroller.isFinished()) return true;