Skip to content

Commit

Permalink
fix: better length
Browse files Browse the repository at this point in the history
  • Loading branch information
RicheyJang committed Aug 5, 2022
1 parent ee1e537 commit 854307d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/bottle/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func genBottleMsg(bottle DriftingBottleModel) (msg message.MessageSegment) {
msg = message.Text(fmt.Sprintf("漂流瓶ID:%d\n%s", bottle.ID, bottle.Content))
}
}()
W, H := 200.0, 50.0
W, H := 310.0, 50.0
// 测量长度 分行
img := images.NewImageCtx(1, 1)
if err = img.UseDefaultFont(18); err != nil {
Expand Down

0 comments on commit 854307d

Please sign in to comment.