Stop dblclick propagation while editing

This commit is contained in:
Tim Schaub
2013-10-31 09:51:29 -06:00
parent 048dec1644
commit 4e98e86b14

View File

@@ -125,6 +125,8 @@ ol.interaction.Draw.prototype.handleMapBrowserEvent = function(event) {
pass = this.handleClick_(event); pass = this.handleClick_(event);
} else if (event.type === ol.MapBrowserEvent.EventType.MOUSEMOVE) { } else if (event.type === ol.MapBrowserEvent.EventType.MOUSEMOVE) {
pass = this.handleMove_(event); pass = this.handleMove_(event);
} else if (event.type === ol.MapBrowserEvent.EventType.DBLCLICK) {
pass = false;
} }
return pass; return pass;
}; };