Skip to content

Commit

Permalink
fix: panic on index access
Browse files Browse the repository at this point in the history
  • Loading branch information
ySnoopyDogy committed Nov 6, 2023
1 parent 3c9562a commit 0150be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/profiles/sunflower.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func RenderSunflower(User *utils.UserData, I18n *utils.I18n, db *database.Databa

ctx.SetHexColor("#fff")
ctx.SetFontFace(*utils.GetFont("Arial", 38))
ctx.DrawStringAnchored(ctx.WordWrap(User.Title, 460)[0], 300, 660, 0.5, 0)
ctx.DrawStringAnchored(User.Title, 300, 660, 0.5, 0)

utils.DrawBadges(ctx, User, 270, 155)

Expand Down

0 comments on commit 0150be3

Please sign in to comment.