From dccc884faaaf96a1711d52618660322e809ecb45 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 26 May 2006 00:00:42 +0000 Subject: [PATCH] Fix a swap Pixel->Size from r363 git-svn-id: http://svn.openlayers.org/trunk/openlayers@380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/PanZoomBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Control/PanZoomBar.js b/lib/OpenLayers/Control/PanZoomBar.js index 42ae464ee9..b398c39815 100644 --- a/lib/OpenLayers/Control/PanZoomBar.js +++ b/lib/OpenLayers/Control/PanZoomBar.js @@ -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;