aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/RadioIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/RadioIndicator.qml')
-rw-r--r--src/imports/controls/material/RadioIndicator.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/controls/material/RadioIndicator.qml b/src/imports/controls/material/RadioIndicator.qml
index 5ad92c3d..27ab8d9a 100644
--- a/src/imports/controls/material/RadioIndicator.qml
+++ b/src/imports/controls/material/RadioIndicator.qml
@@ -43,7 +43,7 @@ Rectangle {
implicitHeight: 20
radius: width / 2
border.width: 2
- border.color: control.checked || control.pressed ? control.Material.accentColor : control.Material.secondaryTextColor
+ border.color: control.checked || control.down ? control.Material.accentColor : control.Material.secondaryTextColor
color: "transparent"
property alias control: ripple.control
@@ -54,7 +54,7 @@ Rectangle {
height: width
control: control
colored: control.checked
- opacity: control.pressed || control.activeFocus ? 1 : 0
+ opacity: control.down || control.activeFocus ? 1 : 0
}
Rectangle {
@@ -64,6 +64,6 @@ Rectangle {
height: 10
radius: width / 2
color: parent.border.color
- visible: control.checked || control.pressed
+ visible: control.checked || control.down
}
}