Permalink
Browse files

Only prevent scroling when two fingers are on the same pinchable elem…

…ent.
  • Loading branch information...
1 parent f892597 commit 2b1d30c0292239186e546635bf35d111d66701da @cpojer committed Jan 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Touch/Pinch.js
View
@@ -29,10 +29,10 @@ var events = {
},
touchmove: function(event){
- event.preventDefault();
-
if (disabled || !active) return;
+ event.preventDefault();
+
var threshold = this.retrieve(thresholdKey, 0.5);
if (event.scale < (1 + threshold) && event.scale > (1 - threshold)) return;

0 comments on commit 2b1d30c

Please sign in to comment.