Do not skip moveTo calls after fill

This commit is contained in:
Andreas Hocevar
2017-01-11 17:12:46 +01:00
parent c09c7ef3e2
commit 2296ca3942
2 changed files with 39 additions and 5 deletions

View File

@@ -427,6 +427,8 @@ ol.render.canvas.Replay.prototype.replay_ = function(
this.fill_(context, viewRotation);
}
++i;
prevX = NaN;
prevY = NaN;
break;
case ol.render.canvas.Instruction.MOVE_TO_LINE_TO:
d = /** @type {number} */ (instruction[1]);