make it so features are not selected if there are multiple touches in the touchstart event, r=bbinet (closes #3279)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11948 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-05-04 10:37:09 +00:00
parent 8f70a140d0
commit 17f2843317
2 changed files with 60 additions and 1 deletions

View File

@@ -147,7 +147,8 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
scope: this
});
}
return this.mousedown(evt);
return OpenLayers.Event.isMultiTouch(evt) ?
true : this.mousedown(evt);
},
/**