Merge pull request #6359 from ahocevar/overlaps-fill

When applying a pending fill, also apply a pending stroke
This commit is contained in:
Andreas Hocevar
2017-01-12 14:40:11 +01:00
committed by GitHub

View File

@@ -459,6 +459,10 @@ ol.render.canvas.Replay.prototype.replay_ = function(
if (pendingFill) {
this.fill_(context, viewRotation);
pendingFill = 0;
if (pendingStroke) {
context.stroke();
pendingStroke = 0;
}
}
context.fillStyle = /** @type {ol.ColorLike} */ (instruction[1]);