diff options
Diffstat (limited to 'src/quick/doc/snippets/qml/springanimation.qml')
-rw-r--r-- | src/quick/doc/snippets/qml/springanimation.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/doc/snippets/qml/springanimation.qml b/src/quick/doc/snippets/qml/springanimation.qml index 658bcfb7d7..c18d662abc 100644 --- a/src/quick/doc/snippets/qml/springanimation.qml +++ b/src/quick/doc/snippets/qml/springanimation.qml @@ -65,7 +65,7 @@ Item { MouseArea { anchors.fill: parent - onClicked: { + onClicked: (mouse)=> { rect.x = mouse.x - rect.width/2 rect.y = mouse.y - rect.height/2 } |