Commit 26da78cf by 李伟康

提交代码

1 parent 51cfe176
...@@ -184,7 +184,7 @@ class Draw { ...@@ -184,7 +184,7 @@ class Draw {
} }
} }
let textHeight = y + index * (lineHeight || fontSize) let textHeight = y + index * (lineHeight || fontSize)
if(index != 0) textHeight -= fontSize / 2 if(index != 0) textHeight -= fontSize / 3
this[_ctx_].fillText(e, x, textHeight, maxWidth) this[_ctx_].fillText(e, x, textHeight, maxWidth)
if (checkTextDecoration(textDecoration)) { if (checkTextDecoration(textDecoration)) {
this.drawDecoration({ this.drawDecoration({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!