initial refactor of Interactions.qml to add better support for touch screen gestures #114
@@ -56,7 +56,8 @@ Item {
|
|||||||
DragHandler {
|
DragHandler {
|
||||||
id: multiHandler
|
id: multiHandler
|
||||||
|
|
||||||
grabPermissions: PointerHandler.CanTakeOverFromAnything
|
dragThreshold: 0
|
||||||
|
grabPermissions: PointerHandler.CanTakeOverFromHandlersOfDifferentType | PointerHandler.ApprovesTakeOverByAnything
|
||||||
maximumPointCount: 2
|
maximumPointCount: 2
|
||||||
minimumPointCount: 2
|
minimumPointCount: 2
|
||||||
target: null
|
target: null
|
||||||
@@ -77,6 +78,7 @@ Item {
|
|||||||
|
|
||||||
cursorShape: (active && centroid.pressPosition.y < root.bar.implicitHeight) ? Qt.ClosedHandCursor : undefined
|
cursorShape: (active && centroid.pressPosition.y < root.bar.implicitHeight) ? Qt.ClosedHandCursor : undefined
|
||||||
dragThreshold: 0
|
dragThreshold: 0
|
||||||
|
grabPermissions: PointerHandler.CanTakeOverFromHandlersOfDifferentType | PointerHandler.ApprovesTakeOverByAnything
|
||||||
maximumPointCount: 1
|
maximumPointCount: 1
|
||||||
minimumPointCount: 1
|
minimumPointCount: 1
|
||||||
target: null
|
target: null
|
||||||
|
|||||||
Reference in New Issue
Block a user