opacity fixes required after reverting r12185. r=mosesonline (closes #3441)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-08-12 21:17:22 +00:00
parent fe5b8a7a78
commit a8d3d6a5b4
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ OpenLayers.Layer.Markers = OpenLayers.Class(OpenLayers.Layer, {
addMarker: function(marker) {
this.markers.push(marker);
if (this.opacity != null) {
if (this.opacity < 1) {
marker.setOpacity(this.opacity);
}