Initial implementation of message selection
This commit is contained in:
@@ -169,8 +169,10 @@ function getItem(array, mainKey, value) {
|
||||
}
|
||||
|
||||
|
||||
function smartVerticalFlick(flickable, baseVelocity, fastMultiply=3) {
|
||||
if (! flickable.interactive) { return }
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user