Add rendering tests

This commit is contained in:
Andreas Hocevar
2017-11-13 13:58:11 +01:00
parent df90f1b78c
commit 53b85a9192
3 changed files with 27 additions and 1 deletions

View File

@@ -1005,7 +1005,7 @@ ol.render.canvas.Replay.prototype.updateStrokeStyle = function(state, applyStrok
var miterLimit = state.miterLimit;
if (state.currentStrokeStyle != strokeStyle ||
state.currentLineCap != lineCap ||
!ol.array.equals(state.currentLineDash, lineDash) ||
(lineDash != state.currentLineDash && !ol.array.equals(state.currentLineDash, lineDash)) ||
state.currentLineDashOffset != lineDashOffset ||
state.currentLineJoin != lineJoin ||
state.currentLineWidth != lineWidth ||