summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax/qml/ParallaxView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/parallax/qml/ParallaxView.qml')
-rw-r--r--examples/declarative/parallax/qml/ParallaxView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/parallax/qml/ParallaxView.qml b/examples/declarative/parallax/qml/ParallaxView.qml
index ff4a85a..811891b 100644
--- a/examples/declarative/parallax/qml/ParallaxView.qml
+++ b/examples/declarative/parallax/qml/ParallaxView.qml
@@ -58,7 +58,7 @@ Item {
transformOrigin: "Center"
}
- MouseRegion {
+ MouseArea {
anchors.fill: parent
onClicked: { root.currentIndex = index }
}
@@ -74,7 +74,7 @@ Item {
}
transitions: Transition {
NumberAnimation {
- matchProperties: "scale,y"
+ properties: "scale,y"
}
}
}