aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/touchinteraction/pincharea/flickresize.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/touchinteraction/pincharea/flickresize.qml')
-rw-r--r--examples/quick/touchinteraction/pincharea/flickresize.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/touchinteraction/pincharea/flickresize.qml b/examples/quick/touchinteraction/pincharea/flickresize.qml
index 037766e4a0..f5fb77c7ee 100644
--- a/examples/quick/touchinteraction/pincharea/flickresize.qml
+++ b/examples/quick/touchinteraction/pincharea/flickresize.qml
@@ -57,6 +57,7 @@ Rectangle {
property real initialWidth
property real initialHeight
+ //![0]
onPinchStarted: {
initialWidth = flick.contentWidth
initialHeight = flick.contentHeight
@@ -75,6 +76,7 @@ Rectangle {
// Move its content within bounds.
flick.returnToBounds()
}
+ //![0]
Rectangle {
width: flick.contentWidth