Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
html-shot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
劳工
html-shot
Commits
f01c3d61
Commit
f01c3d61
authored
Apr 07, 2022
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
边框绘制
parent
bea3097e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
toCanvas.ts
src/toCanvas.ts
+1
-1
No files found.
src/toCanvas.ts
View file @
f01c3d61
...
@@ -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
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment