Fix typo in replay code
This commit is contained in:
@@ -746,7 +746,7 @@ ol.render.canvas.PolygonReplay.prototype.setFillStrokeStyle =
|
|||||||
state.strokeStyle = !goog.isNull(strokeStyle.color) ?
|
state.strokeStyle = !goog.isNull(strokeStyle.color) ?
|
||||||
ol.color.asString(strokeStyle.color) :
|
ol.color.asString(strokeStyle.color) :
|
||||||
ol.render.canvas.defaultStrokeStyle;
|
ol.render.canvas.defaultStrokeStyle;
|
||||||
state.lineWidth = !goog.isDef(strokeStyle.width) ?
|
state.lineWidth = goog.isDef(strokeStyle.width) ?
|
||||||
strokeStyle.width : ol.render.canvas.defaultLineWidth;
|
strokeStyle.width : ol.render.canvas.defaultLineWidth;
|
||||||
} else {
|
} else {
|
||||||
state.strokeStyle = undefined;
|
state.strokeStyle = undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user