Fix typo in replay code

This commit is contained in:
Éric Lemoine
2013-11-22 16:36:06 +01:00
parent c4731ff37b
commit 68caa8141c

View File

@@ -746,7 +746,7 @@ ol.render.canvas.PolygonReplay.prototype.setFillStrokeStyle =
state.strokeStyle = !goog.isNull(strokeStyle.color) ?
ol.color.asString(strokeStyle.color) :
ol.render.canvas.defaultStrokeStyle;
state.lineWidth = !goog.isDef(strokeStyle.width) ?
state.lineWidth = goog.isDef(strokeStyle.width) ?
strokeStyle.width : ol.render.canvas.defaultLineWidth;
} else {
state.strokeStyle = undefined;