mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 09:15:05 +08:00
fix: 文本框的配置问题
This commit is contained in:
1 parent
71c88369e1
commit
5bdd41159b
8 files changed
+91
-33
No files matched your search
@@ -52,6 +52,7 @@ export class Text extends RenderItem<ETextEvent> {
|
||||
ctx.strokeStyle = this.strokeStyle ?? 'transparent';
|
||||
ctx.font = this.font.string();
|
||||
ctx.lineWidth = this.strokeWidth;
|
||||
ctx.lineJoin = 'round';
|
||||
|
||||
if (this.strokeStyle) {
|
||||
ctx.strokeText(this.text, stroke, this.descent + stroke + SAFE_PAD);
|
||||
|
||||
Reference in new issue
Block a user