Use the delta from goog.events.MouseWheelHandler as-is

This commit is contained in:
ahocevar
2014-03-13 19:51:28 +01:00
parent 9f1b695747
commit 44e0f6ce68

View File

@@ -83,7 +83,7 @@ ol.interaction.MouseWheelZoom.prototype.handleMapBrowserEvent =
goog.asserts.assertInstanceof(mouseWheelEvent, goog.events.MouseWheelEvent);
this.lastAnchor_ = mapBrowserEvent.coordinate;
this.delta_ += mouseWheelEvent.deltaY / 3;
this.delta_ += mouseWheelEvent.deltaY;
if (!goog.isDef(this.startTime_)) {
this.startTime_ = goog.now();