homescreen: Use smaller vertical swipe threshold

This commit is contained in:
Devin Lin 2022-05-26 17:36:02 -04:00
parent 027c0d2409
commit 2f4938059b

View file

@ -101,8 +101,8 @@ QtObject {
property var currentSwipeState: HomeScreenState.DeterminingType
// threshold of movement in a direction before we count that as the defining SwipeState
readonly property real horizontalSwipeStateDetermineThreshold: PlasmaCore.Units.smallSpacing
readonly property real verticalSwipeStateDetermineThreshold: PlasmaCore.Units.smallSpacing * 3
readonly property real horizontalSwipeStateDetermineThreshold: 2
readonly property real verticalSwipeStateDetermineThreshold: 2
// we put the offset position here when determining the swipe type, before we
// transfer movement over to xPosition and yPosition