|
|
@ -1028,7 +1028,7 @@ Node.prototype._label = function (ctx, text, x, y, align, baseline, labelUnderNo |
|
|
|
ctx.fillStyle = this.options.fontColor || "black"; |
|
|
|
ctx.textAlign = align || "center"; |
|
|
|
ctx.textBaseline = baseline || "middle"; |
|
|
|
if(this.options.fontStrokeWidth){ |
|
|
|
if (this.options.fontStrokeWidth > 0){ |
|
|
|
ctx.lineWidth = this.options.fontStrokeWidth; |
|
|
|
ctx.strokeStyle = this.options.fontStrokeColor; |
|
|
|
ctx.lineJoin = 'round'; |
|
|
|