Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
当耐特 committed Dec 27, 2017
1 parent 692b37b commit 9bbe617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/simple/index.html
Expand Up @@ -45,7 +45,7 @@
initScale = el.scaleX;
},
pinch: function (evt) {
el.scaleX = el.scaleY = initScale * evt.scale;
el.scaleX = el.scaleY = initScale * evt.zoom;
},
pressMove: function (evt) {
el.translateX += evt.deltaX;
Expand All @@ -69,4 +69,4 @@

</script>
</body>
</html>
</html>

0 comments on commit 9bbe617

Please sign in to comment.