Clone backgroundFill and backgroundStroke
This commit is contained in:
@@ -155,7 +155,9 @@ ol.style.Text.prototype.clone = function() {
|
|||||||
fill: this.getFill() ? this.getFill().clone() : undefined,
|
fill: this.getFill() ? this.getFill().clone() : undefined,
|
||||||
stroke: this.getStroke() ? this.getStroke().clone() : undefined,
|
stroke: this.getStroke() ? this.getStroke().clone() : undefined,
|
||||||
offsetX: this.getOffsetX(),
|
offsetX: this.getOffsetX(),
|
||||||
offsetY: this.getOffsetY()
|
offsetY: this.getOffsetY(),
|
||||||
|
backgroundFill: this.getBackgroundFill() ? this.getBackgroundFill().clone() : undefined,
|
||||||
|
backgroundStroke: this.getBackgroundStroke() ? this.getBackgroundStroke().clone() : undefined
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user