Commit f01c3d61 authored by rockyl's avatar rockyl

边框绘制

parent bea3097e
...@@ -152,7 +152,7 @@ export async function toCanvas(data: ICData, options: RenderOptions = {}, callba ...@@ -152,7 +152,7 @@ export async function toCanvas(data: ICData, options: RenderOptions = {}, callba
node = n.host node = n.host
} }
//边框 //边框
if (node.borderWidth) { if (parseInt(node.borderWidth)) {
drawBorder(node, ctx, scale) drawBorder(node, ctx, scale)
} }
} }
......
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