Make shouldStopEvent default to the identity func

This commit is contained in:
Éric Lemoine
2014-12-15 17:28:36 +01:00
parent 1907de667a
commit 6b46d5c76a
9 changed files with 39 additions and 28 deletions
@@ -1,7 +1,6 @@
goog.provide('ol.interaction.DragRotateAndZoom');
goog.require('goog.asserts');
goog.require('goog.functions');
goog.require('goog.math.Vec2');
goog.require('ol');
goog.require('ol.ViewHint');
@@ -150,12 +149,3 @@ ol.interaction.DragRotateAndZoom.handleDownEvent_ = function(mapBrowserEvent) {
return false;
}
};
/**
* @inheritDoc
* Stop the event if it was handled, so that interaction `DragZoom`
* does not interfere.
*/
ol.interaction.DragRotateAndZoom.prototype.shouldStopEvent =
goog.functions.identity;