Skip to content

Commit 52ef28c

Browse files
🎨 改进代码样式 (#648)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent df4c043 commit 52ef28c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/font/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ func init() {
6262
ctx.SendChain(message.Text("ERROR: ", err))
6363
return
6464
}
65-
//获得画布预计
65+
// 获得画布预计
6666
testcov := gg.NewContext(1, 1)
6767
if err = testcov.ParseFontFace(data, 30); err != nil {
6868
ctx.SendChain(message.Text("ERROR: ", err))
6969
return
7070
}
71-
//取最长段
71+
// 取最长段
7272
txt = ""
7373
for _, v := range strlist {
7474
if len([]rune(v)) > len([]rune(txt)) {

0 commit comments

Comments
 (0)