Fix DragZoom interaction duration, allow 0 value

This commit is contained in:
Alexandre Dubé
2015-10-14 13:39:10 -04:00
parent a639291ea7
commit bd4b7a890d
+1 -1
View File
@@ -32,7 +32,7 @@ ol.interaction.DragZoom = function(opt_options) {
* @private * @private
* @type {number} * @type {number}
*/ */
this.duration_ = options.duration ? options.duration : 200; this.duration_ = options.duration !== undefined ? options.duration : 200;
/** /**
* @private * @private