From ee17710ddad229752365261195af82cd78f432a3 Mon Sep 17 00:00:00 2001 From: ySnoopyDogy Date: Thu, 2 Nov 2023 20:40:55 -0300 Subject: [PATCH] fix: upper customization in mural --- src/renderers/profiles/mural.go | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/renderers/profiles/mural.go b/src/renderers/profiles/mural.go index dc23fc9..7a6c4a9 100644 --- a/src/renderers/profiles/mural.go +++ b/src/renderers/profiles/mural.go @@ -19,18 +19,7 @@ func RenderPersonalSpace(User *utils.UserData, I18n *utils.I18n, customEdits []s ctx.SetHexColor(utils.ShadeColor(User.Color, 15)) ctx.DrawRectangle(182, 10, 580, 50) - - if utils.GetProfileCustomization("textBoxFilled", customEdits) { - ctx.Fill() - } else { - ctx.Stroke() - } - - ctx.MoveTo(235, 60) - ctx.LineTo(892, 60) - ctx.LineTo(1030, 130) - ctx.LineTo(892, 202) - ctx.LineTo(235, 202) + ctx.Fill() ctx.SetHexColor(User.Color) ctx.DrawCircle(131, 131, 130) @@ -40,6 +29,12 @@ func RenderPersonalSpace(User *utils.UserData, I18n *utils.I18n, customEdits []s ctx.DrawImageAnchored(userAvatar, 131, 131, 0.5, 0.5) ctx.ResetClip() + ctx.MoveTo(235, 60) + ctx.LineTo(892, 60) + ctx.LineTo(1030, 130) + ctx.LineTo(892, 202) + ctx.LineTo(235, 202) + ctx.SetLineWidth(15) if utils.GetProfileCustomization("textBoxFilled", customEdits) {