[OpenLayers-Commits] r11627 -
sandbox/tschaub/click/lib/OpenLayers/Handler
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Sun Mar 6 19:18:15 EST 2011
Author: tschaub
Date: 2011-03-06 16:18:14 -0800 (Sun, 06 Mar 2011)
New Revision: 11627
Modified:
sandbox/tschaub/click/lib/OpenLayers/Handler/Pinch.js
Log:
The pinch handler should allow move events to propagate so other handlers (like the click handler) can keep track of movements.
Modified: sandbox/tschaub/click/lib/OpenLayers/Handler/Pinch.js
===================================================================
--- sandbox/tschaub/click/lib/OpenLayers/Handler/Pinch.js 2011-03-07 00:17:16 UTC (rev 11626)
+++ sandbox/tschaub/click/lib/OpenLayers/Handler/Pinch.js 2011-03-07 00:18:14 UTC (rev 11627)
@@ -120,15 +120,13 @@
* {Boolean} Let the event propagate.
*/
touchmove: function(evt) {
- var propagate = true;
if (this.started && OpenLayers.Event.isMultiTouch(evt)) {
this.pinching = true;
var current = this.getPinchData(evt);
this.callback("move", [evt, current]);
this.last = current;
- propagate = false;
}
- return propagate;
+ return true;
},
/**
More information about the Commits
mailing list