Fixing merge errors from unmerging #404
This commit is contained in:
@@ -276,14 +276,11 @@ ol.renderer.canvas.VectorRenderer.prototype.renderLabels_ =
|
|||||||
color = text.color,
|
color = text.color,
|
||||||
vecs, vec;
|
vecs, vec;
|
||||||
|
|
||||||
context.save();
|
|
||||||
context.scale(1, -1);
|
|
||||||
|
|
||||||
if (color) {
|
if (color) {
|
||||||
context.fillStyle = color;
|
context.fillStyle = color;
|
||||||
}
|
}
|
||||||
if (goog.isDef(text.fontSize)) {
|
if (goog.isDef(text.fontSize)) {
|
||||||
fontArray.push((text.fontSize * this.inverseScale_) + 'px');
|
fontArray.push(text.fontSize + 'px');
|
||||||
}
|
}
|
||||||
if (goog.isDef(text.fontFamily)) {
|
if (goog.isDef(text.fontFamily)) {
|
||||||
fontArray.push(text.fontFamily);
|
fontArray.push(text.fontFamily);
|
||||||
@@ -305,7 +302,6 @@ ol.renderer.canvas.VectorRenderer.prototype.renderLabels_ =
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
context.restore();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user