Remove mousewheel event name workaround
Fixed upstream https://github.com/google/closure-library/pull/308
This commit is contained in:
+1
-2
@@ -265,8 +265,7 @@ ol.Map = function(options) {
|
|||||||
goog.events.EventType.TOUCHSTART,
|
goog.events.EventType.TOUCHSTART,
|
||||||
goog.events.EventType.MSPOINTERDOWN,
|
goog.events.EventType.MSPOINTERDOWN,
|
||||||
ol.MapBrowserEvent.EventType.POINTERDOWN,
|
ol.MapBrowserEvent.EventType.POINTERDOWN,
|
||||||
// see https://github.com/google/closure-library/pull/308
|
goog.events.EventType.MOUSEWHEEL
|
||||||
goog.userAgent.GECKO ? 'DOMMouseScroll' : 'mousewheel'
|
|
||||||
], 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