Permalink
Browse files

Merge pull request #221 from stigtsp/master

Fix for "double-zoom" bug.
  • Loading branch information...
cubiq committed Jun 3, 2012
2 parents e746a8d + a5fee00 commit a8b8720296dc00015ddcc71f647ba7552a1d0bcf
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/iscroll.js
View
@@ -258,6 +258,8 @@ iScroll.prototype = {
},
_pos: function (x, y) {
+ if (this.zoomed) return;
+
x = this.hScroll ? x : 0;
y = this.vScroll ? y : 0;

0 comments on commit a8b8720

Please sign in to comment.