Selection mode fling

This commit is contained in:
mao
2019-10-05 18:30:54 +08:00
parent 35a4fdacbe
commit 3b4ece6bd8

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;