From f5ee80907c9792f3e8edf50a9371357c586fdf13 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 16 Aug 2006 16:53:41 +0000 Subject: [PATCH] use default wheel functions that i created earlier git-svn-id: http://svn.openlayers.org/trunk/openlayers@1241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/MouseDefaults.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Control/MouseDefaults.js b/lib/OpenLayers/Control/MouseDefaults.js index b40f75f5c2..9a7b8900d8 100644 --- a/lib/OpenLayers/Control/MouseDefaults.js +++ b/lib/OpenLayers/Control/MouseDefaults.js @@ -197,9 +197,9 @@ OpenLayers.Control.MouseDefaults.prototype = } if (delta) { if (delta < 0) { - this.map.zoomOut(); + this.defaultWheelDown(); } else { - this.map.zoomIn(); + this.defaultWheelUp(); } } },