mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-26 03:21:21 +08:00
💩👌 make lint happy
This commit is contained in:
parent
00be4a856f
commit
9f6e361e6e
@ -112,7 +112,7 @@ func init() {
|
||||
canvas.SetRGB255(102, 102, 102)
|
||||
canvas.Fill()
|
||||
canvas.DrawString(fmt.Sprintf("%d/%d", score, nextLevelScore), float64(back.Bounds().Size().X)*0.75, float64(back.Bounds().Size().Y)*1.62)
|
||||
canvasBase64, err := txt2img.TxtCanvas{canvas}.ToBase64()
|
||||
canvasBase64, err := txt2img.TxtCanvas{Canvas: canvas}.ToBase64()
|
||||
if err != nil {
|
||||
log.Println("[score]:", err)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user