Commit 7a7dcc5b authored by rockyl's avatar rockyl

Merge remote-tracking branch 'origin/dev' into dev

parents 9026c29c 2d2c4dc6
......@@ -202,7 +202,7 @@ function drawText(data: INodeData, ctx: CanvasRenderingContext2D, scale: number)
ctx.font = font;
ctx.textBaseline = "bottom";
ctx.fillStyle = color;
ctx.fillStyle = color||"black";
var textMetrics = ctx.measureText(text);
let widthAll = textMetrics.width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment