Remove goog.fx.Dragger

This commit is contained in:
Andreas Hocevar
2016-01-26 13:42:37 +01:00
parent 6ac3f30c8f
commit 7e27ba1d42
5 changed files with 103 additions and 47 deletions

View File

@@ -48,7 +48,7 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
* @type {ol.Pixel}
* @api stable
*/
this.pixel = map.getEventPixel(this.originalEvent);
this.pixel = map.getEventPixel(browserEvent);
/**
* The coordinate of the original browser event.
@@ -106,7 +106,7 @@ ol.MapBrowserEvent.prototype.stopPropagation = function() {
ol.MapBrowserPointerEvent = function(type, map, pointerEvent, opt_dragging,
opt_frameState) {
goog.base(this, type, map, pointerEvent.originalEvent, opt_dragging,
goog.base(this, type, map, pointerEvent.browserEvent, opt_dragging,
opt_frameState);
/**