Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups.
(Closes #1204) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -128,13 +128,11 @@ OpenLayers.Popup.AnchoredBubble =
|
||||
* opacity - {float}
|
||||
*/
|
||||
setOpacity:function(opacity) {
|
||||
if (opacity != undefined) {
|
||||
this.opacity = opacity;
|
||||
}
|
||||
OpenLayers.Popup.Anchored.prototype.setOpacity.call(this, opacity);
|
||||
|
||||
if (this.div != null) {
|
||||
if (this.contentDiv != null) {
|
||||
OpenLayers.Rico.Corner.changeOpacity(this.contentDiv,
|
||||
if (this.groupDiv != null) {
|
||||
OpenLayers.Rico.Corner.changeOpacity(this.groupDiv,
|
||||
this.opacity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user