Make shouldStopEvent default to the identity func
This commit is contained in:
@@ -760,12 +760,6 @@ ol.interaction.Modify.prototype.removeVertex_ = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.interaction.Modify.prototype.shouldStopEvent = goog.functions.identity;
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.geom.SimpleGeometry} geometry Geometry.
|
||||
* @param {number} index Index.
|
||||
|
||||
Reference in New Issue
Block a user