From f6a24ec020e672c4f190196b457b39bef67a4af1 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 6 Sep 2019 14:24:12 -0400 Subject: [PATCH] Remove overshoot check for smartVerticalFlick() Keyboard flicking feels better witohut rather than just abruptly stopping or not doing anything if the user is already at the top/bottom of the flickable. --- src/qml/utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qml/utils.js b/src/qml/utils.js index 8714e291..33949ff4 100644 --- a/src/qml/utils.js +++ b/src/qml/utils.js @@ -171,8 +171,6 @@ function getItem(array, mainKey, value) { function smartVerticalFlick(flickable, baseVelocity, fastMultiply=4) { if (! flickable.interactive && flickable.enableFlicking) return - if (flickable.verticalOvershoot != 0) return - if (baseVelocity > 0 && flickable.atYEnd) return baseVelocity = -baseVelocity let vel = -flickable.verticalVelocity