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, 1 insertions, 1 deletions
diff --git a/examples/quick/touchinteraction/pincharea/flickresize.qml b/examples/quick/touchinteraction/pincharea/flickresize.qml
index 65db04693d..994fd01b50 100644
--- a/examples/quick/touchinteraction/pincharea/flickresize.qml
+++ b/examples/quick/touchinteraction/pincharea/flickresize.qml
@@ -73,7 +73,7 @@ Rectangle {
initialHeight = flick.contentHeight
}
- onPinchUpdated: {
+ onPinchUpdated: (pinch)=> {
// adjust content pos due to drag
flick.contentX += pinch.previousCenter.x - pinch.center.x
flick.contentY += pinch.previousCenter.y - pinch.center.y