replaced calls to addX and addY with calls to add. Simplify
git-svn-id: http://svn.openlayers.org/trunk/openlayers@51 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -19,7 +19,7 @@ OpenLayers.Control.LayerSwitcher.prototype =
|
||||
div.ondblclick = this.doubleClick.bindAsEventListener(div);
|
||||
div.onmousedown = this.singleClick.bindAsEventListener(div);
|
||||
this.div.appendChild(div);
|
||||
pixel = pixel.addY(35);
|
||||
pixel = pixel.add(0, 35);
|
||||
}
|
||||
return this.div;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user