diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-11-29 21:30:24 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-12-01 02:25:56 +0000 |
commit | bb68ee992464eededf50261a68b4199b61911f36 (patch) | |
tree | 0a73f51f93008e8068870fd59270a48af8f7fe3e /src/quick/handlers/qquickpinchhandler.cpp | |
parent | 760a37d60a79c8b4fcf91009d92e8fdfb7bdba6f (diff) |
doc: Add note to PinchHandler.translation property about macOS trackpad
Translation doesn't happen with trackpad native gestures.
Fixes: QTBUG-109002
Change-Id: I7d42b0d737d45405732a389560a6c77624831c9e
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 786e1748d4469c135a922a221024f3f9c421c0de)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/handlers/qquickpinchhandler.cpp')
-rw-r--r-- | src/quick/handlers/qquickpinchhandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickpinchhandler.cpp b/src/quick/handlers/qquickpinchhandler.cpp index 9985c85878..3111b6cfb3 100644 --- a/src/quick/handlers/qquickpinchhandler.cpp +++ b/src/quick/handlers/qquickpinchhandler.cpp @@ -543,6 +543,9 @@ void QQuickPinchHandler::handlePointerEventImpl(QQuickPointerEvent *event) The translation of the gesture \l centroid. It is \c (0, 0) when the gesture begins. + + \note On some touchpads, such as on a \macos trackpad, native gestures do + not generate any translation values, and this property stays at \c (0, 0). */ QT_END_NAMESPACE |