summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/animation.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/animation.qdoc')
-rw-r--r--doc/src/declarative/animation.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/animation.qdoc b/doc/src/declarative/animation.qdoc
index 1acc111..d80c3fa 100644
--- a/doc/src/declarative/animation.qdoc
+++ b/doc/src/declarative/animation.qdoc
@@ -110,7 +110,7 @@ PropertyAnimation {
Image {
id: image
source: "image.png"
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onPressed: animation.start()
}
@@ -251,7 +251,7 @@ State {
\o Update x from a script
\qml
-MouseRegion {
+MouseArea {
....
onClicked: redRect.x = 24;
}