aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/SwitchIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/SwitchIndicator.qml')
-rw-r--r--src/imports/controls/material/SwitchIndicator.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/SwitchIndicator.qml b/src/imports/controls/material/SwitchIndicator.qml
index 403587b9..93b4c9f6 100644
--- a/src/imports/controls/material/SwitchIndicator.qml
+++ b/src/imports/controls/material/SwitchIndicator.qml
@@ -52,7 +52,7 @@ Item {
width: handle.width
height: width
colored: control.checked
- opacity: control.pressed || control.activeKeyFocus ? 1 : 0
+ opacity: control.pressed || control.visualFocus ? 1 : 0
}
Rectangle {