aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpinchhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickpinchhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpinchhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickpinchhandler.cpp b/src/quick/handlers/qquickpinchhandler.cpp
index 09e4f9f17c..c6294092e6 100644
--- a/src/quick/handlers/qquickpinchhandler.cpp
+++ b/src/quick/handlers/qquickpinchhandler.cpp
@@ -282,6 +282,7 @@ void QQuickPinchHandler::handlePointerEventImpl(QQuickPointerEvent *event)
mat = mat * m_startMatrix;
m_transform.setMatrix(mat);
+ m_translation = QPointF(mat.constData()[12], mat.constData()[13]);
}
emit updated();