Fix a swap Pixel->Size from r363

git-svn-id: http://svn.openlayers.org/trunk/openlayers@380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-26 00:00:42 +00:00
parent d7a27bc959
commit dccc884faa

View File

@@ -53,7 +53,7 @@ OpenLayers.Control.PanZoomBar.prototype =
var zoomStopSize = this.zoomStopHeight;
var slider = OpenLayers.Util.createAlphaImageDiv(imgLocation+"slider.png",
new OpenLayers.Pixel(20,9),
new OpenLayers.Size(20,9),
centered.add(-1, (this.map.getZoomLevels())*zoomStopSize), "absolute",
"OpenLayers_Control_PanZoomBar_Slider" + this.map.id);
slider.style.zIndex = this.div.zIndex + 5;