aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/text/textselection
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/text/textselection')
-rw-r--r--examples/quick/text/textselection/textselection.qml14
1 files changed, 9 insertions, 5 deletions
diff --git a/examples/quick/text/textselection/textselection.qml b/examples/quick/text/textselection/textselection.qml
index 0e979c28a4..7dcd2c962a 100644
--- a/examples/quick/text/textselection/textselection.qml
+++ b/examples/quick/text/textselection/textselection.qml
@@ -208,14 +208,18 @@ Rectangle {
states: [
State {
name: "selection"
- PropertyChanges { target: startHandle; opacity: 1.0 }
- PropertyChanges { target: endHandle; opacity: 1.0 }
+ PropertyChanges {
+ startHandle.opacity: 1.0
+ endHandle.opacity: 1.0
+ }
},
State {
name: "menu"
- PropertyChanges { target: startHandle; opacity: 0.5 }
- PropertyChanges { target: endHandle; opacity: 0.5 }
- PropertyChanges { target: menu; opacity: 1.0 }
+ PropertyChanges {
+ startHandle.opacity: 0.5
+ endHandle.opacity: 0.5
+ menu.opacity: 1.0
+ }
}
]
}