aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/SwipeDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/SwipeDelegate.qml')
-rw-r--r--src/imports/controls/SwipeDelegate.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/controls/SwipeDelegate.qml b/src/imports/controls/SwipeDelegate.qml
index 6621f44d..12673f33 100644
--- a/src/imports/controls/SwipeDelegate.qml
+++ b/src/imports/controls/SwipeDelegate.qml
@@ -64,7 +64,7 @@ T.SwipeDelegate {
verticalAlignment: Text.AlignVCenter
Behavior on x {
- enabled: !control.pressed
+ enabled: !control.down
NumberAnimation {
easing.type: Easing.InOutCubic
duration: 400
@@ -75,10 +75,10 @@ T.SwipeDelegate {
//! [background]
background: Rectangle {
- color: control.pressed ? "#bdbebf" : "#eeeeee"
+ color: control.down ? "#bdbebf" : "#eeeeee"
Behavior on x {
- enabled: !control.pressed
+ enabled: !control.down
NumberAnimation {
easing.type: Easing.InOutCubic
duration: 400