Skip to content

Commit

Permalink
fix: 解决默认文字颜色无法选中问题 (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyscraperno1 authored May 30, 2024
1 parent 25e3b47 commit 1b80d5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/tools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ const addText = (option) => {
...defaultPosition,
...option,
fontSize: 80,
fill: '#000000FF',
id: uuid(),
});
canvasEditor.canvas.add(text);
Expand Down Expand Up @@ -274,6 +275,7 @@ const addTextBox = (option) => {
splitByGrapheme: true,
width: 400,
fontSize: 80,
fill: '#000000FF',
id: uuid(),
});
canvasEditor.canvas.add(text);
Expand Down

0 comments on commit 1b80d5d

Please sign in to comment.