Explicitly name parameters in signal handler

This commit is contained in:
Nicolas Werner 2022-04-17 03:19:42 +02:00
parent 45391c97ff
commit 2f71422d2a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -119,7 +119,7 @@ Item {
}
}
onGrabChanged: {
onGrabChanged: (transition, point) => {
circle.centerX = point.position.x;
circle.centerY = point.position.y;
}