4 // Note that zooming is better done using zoomFactor and careful
5 // control of rendering to avoid excessive re-rendering during
6 // zoom animations. This test is written for simplicity.
8 property string skip: "WebView tests not counting until resources allocated to WebView maintenance"
11 Behavior on x { NumberAnimation { } }
12 Behavior on y { NumberAnimation { } }
13 Behavior on scale { NumberAnimation { } }
16 preferredHeight: height
17 onDoubleClick: {console.log(clickX,clickY);heuristicZoom(clickX,clickY,2)}
18 onZoomTo: {console.log(zoom);scale=zoom;x=width/2-centerX;y=height/2-centerY}