use default wheel functions that i created earlier

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-16 16:53:41 +00:00
parent f24f01a1cc
commit f5ee80907c

View File

@@ -197,9 +197,9 @@ OpenLayers.Control.MouseDefaults.prototype =
} }
if (delta) { if (delta) {
if (delta < 0) { if (delta < 0) {
this.map.zoomOut(); this.defaultWheelDown();
} else { } else {
this.map.zoomIn(); this.defaultWheelUp();
} }
} }
}, },