Make overlay container stop touchend and mouseup
This commit is contained in:
+3
-1
@@ -237,7 +237,9 @@ ol.Map = function(options) {
|
|||||||
goog.events.EventType.CLICK,
|
goog.events.EventType.CLICK,
|
||||||
goog.events.EventType.DBLCLICK,
|
goog.events.EventType.DBLCLICK,
|
||||||
ol.BrowserFeature.HAS_TOUCH ?
|
ol.BrowserFeature.HAS_TOUCH ?
|
||||||
goog.events.EventType.TOUCHSTART : goog.events.EventType.MOUSEDOWN
|
goog.events.EventType.TOUCHSTART : goog.events.EventType.MOUSEDOWN,
|
||||||
|
ol.BrowserFeature.HAS_TOUCH ?
|
||||||
|
goog.events.EventType.TOUCHEND : goog.events.EventType.MOUSEUP
|
||||||
], goog.events.Event.stopPropagation);
|
], goog.events.Event.stopPropagation);
|
||||||
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);
|
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user