summaryrefslogtreecommitdiffstats
path: root/multilayer-dashboard/RotatableImage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'multilayer-dashboard/RotatableImage.qml')
-rw-r--r--multilayer-dashboard/RotatableImage.qml11
1 files changed, 0 insertions, 11 deletions
diff --git a/multilayer-dashboard/RotatableImage.qml b/multilayer-dashboard/RotatableImage.qml
index 59df4e2..474e86f 100644
--- a/multilayer-dashboard/RotatableImage.qml
+++ b/multilayer-dashboard/RotatableImage.qml
@@ -59,17 +59,6 @@ Rectangle {
transformOrigin: Item.Center
}
- function pinch(gesture) {
- if (gesture.changeFlags & PinchGesture.RotationAngleChanged)
- img.rotation += gesture.rotationAngle - gesture.lastRotationAngle
- if (gesture.changeFlags & PinchGesture.ScaleFactorChanged)
- img.scale *= gesture.scaleFactor
- if (gesture.changeFlags & PinchGesture.CenterPointChanged) {
- img.x += gesture.centerPoint.x - gesture.lastCenterPoint.x
- img.y += gesture.centerPoint.y - gesture.lastCenterPoint.y
- }
- }
-
GestureArea {
anchors.fill: parent