Skip to content

Commit

Permalink
Merge pull request openlayers#2875 from tschaub/orphan-logos
Browse files Browse the repository at this point in the history
Avoid modifying `map.logos_` with each frame.
  • Loading branch information
tschaub committed Oct 26, 2014
2 parents 8fb5dc7 + 03fa996 commit aa6a5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ol/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ ol.Map.prototype.renderFrame_ = function(time) {
index: this.frameIndex_++,
layerStates: layerStates,
layerStatesArray: layerStatesArray,
logos: this.logos_,
logos: goog.object.clone(this.logos_),
pixelRatio: this.pixelRatio_,
pixelToCoordinateMatrix: this.pixelToCoordinateMatrix_,
postRenderFunctions: [],
Expand Down

0 comments on commit aa6a5d5

Please sign in to comment.