diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-12-06 10:52:21 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-01-02 18:52:57 +0000 |
commit | e39b4572c272f8a0a7be048a24808cb028480e82 (patch) | |
tree | f26d56bcd0c96bd8c19f1ed3a6f066c77e71e58b /examples | |
parent | 344f09bb98eba8e9add3cab2d72cc0fe029ec4d3 (diff) | |
download | qtdeclarative-e39b4572c272f8a0a7be048a24808cb028480e82.tar.gz |
map example: don't restrict pinch-zoom to center
A big advantage of PinchHandler over PinchArea is the ability to zoom
into a particular location in the target Item, so let's not fail to
show that off.
Pick-to: 6.2 6.4 6.5
Change-Id: I0f22abff99bdc60bac27e72fd5f66be4796794df
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/pointerhandlers/map.qml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/quick/pointerhandlers/map.qml b/examples/quick/pointerhandlers/map.qml index 155aba6f42..082d9d26c3 100644 --- a/examples/quick/pointerhandlers/map.qml +++ b/examples/quick/pointerhandlers/map.qml @@ -73,8 +73,6 @@ Item { target: map minimumScale: 0.1 maximumScale: 10 - xAxis.enabled: false - yAxis.enabled: false onActiveChanged: if (!active) reRenderIfNecessary() grabPermissions: PinchHandler.TakeOverForbidden // don't allow takeover if pinch has started } |