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/RadioDelegate.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/RadioDelegate.qml')
-rw-r--r-- | src/imports/controls/material/RadioDelegate.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/RadioDelegate.qml b/src/imports/controls/material/RadioDelegate.qml index 5c943a7f..b8f4fbd5 100644 --- a/src/imports/controls/material/RadioDelegate.qml +++ b/src/imports/controls/material/RadioDelegate.qml @@ -76,7 +76,7 @@ T.RadioDelegate { background: Rectangle { implicitHeight: 48 - color: control.down ? control.Material.buttonPressColor : control.highlighted ? control.Material.listHighlightColor : "transparent" + color: control.highlighted ? control.Material.listHighlightColor : "transparent" Ripple { width: parent.width |