diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-07-20 14:59:49 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-07-20 14:39:18 +0000 |
commit | 8291869b51c0afe8763df6f932b4e8fef463371c (patch) | |
tree | 87643f2b1ac5ac42db2fa0d78427eb6ce63736f2 /src/imports/controls/material/SwipeDelegate.qml | |
parent | 946b1349ffc6450d2484773583cfbda95e9d7771 (diff) |
Material: remove double press effect from delegates
The press effect is visualized by the ripple background, so we
don't need to adjust the control background color when pressed.
Change-Id: Ic3acea4591d59f3045004b7e85a5b5bb9044c9f2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/SwipeDelegate.qml')
-rw-r--r-- | src/imports/controls/material/SwipeDelegate.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/imports/controls/material/SwipeDelegate.qml b/src/imports/controls/material/SwipeDelegate.qml index 02a3cd8c..28fc6c2e 100644 --- a/src/imports/controls/material/SwipeDelegate.qml +++ b/src/imports/controls/material/SwipeDelegate.qml @@ -84,8 +84,7 @@ T.SwipeDelegate { width: parent.width height: parent.height visible: control.down || control.highlighted || control.visualFocus - color: control.down ? control.Material.buttonPressColor : - control.visualFocus || control.hovered ? control.Material.swipeDelegateHoverColor : + color: control.visualFocus || control.hovered ? control.Material.swipeDelegateHoverColor : control.Material.listHighlightColor } |