mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
homescreen: Use smaller vertical swipe threshold
This commit is contained in:
parent
027c0d2409
commit
2f4938059b
1 changed files with 2 additions and 2 deletions
|
|
@ -101,8 +101,8 @@ QtObject {
|
||||||
property var currentSwipeState: HomeScreenState.DeterminingType
|
property var currentSwipeState: HomeScreenState.DeterminingType
|
||||||
|
|
||||||
// threshold of movement in a direction before we count that as the defining SwipeState
|
// threshold of movement in a direction before we count that as the defining SwipeState
|
||||||
readonly property real horizontalSwipeStateDetermineThreshold: PlasmaCore.Units.smallSpacing
|
readonly property real horizontalSwipeStateDetermineThreshold: 2
|
||||||
readonly property real verticalSwipeStateDetermineThreshold: PlasmaCore.Units.smallSpacing * 3
|
readonly property real verticalSwipeStateDetermineThreshold: 2
|
||||||
|
|
||||||
// we put the offset position here when determining the swipe type, before we
|
// we put the offset position here when determining the swipe type, before we
|
||||||
// transfer movement over to xPosition and yPosition
|
// transfer movement over to xPosition and yPosition
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue