diff --git a/scripts/components/headers/challengeSelectHeader.lua b/scripts/components/headers/challengeSelectHeader.lua index 795f657..9e73b3b 100644 --- a/scripts/components/headers/challengeSelectHeader.lua +++ b/scripts/components/headers/challengeSelectHeader.lua @@ -1,4 +1,3 @@ -local resx, resy = game.GetResolution(); local desw = 1080; local desh = 1920; local scale = 1; @@ -23,8 +22,8 @@ local drawHeader = function () local headerImageWidth, headerImageHeight = gfx.ImageSize(headerTitleImage) gfx.ImageRect( - (desw - headerImageWidth) / 2, (HEADER_HEIGHT - headerImageHeight) / 2, - headerImageWidth, headerImageHeight, + (desw - headerImageWidth) / 2, (HEADER_HEIGHT - headerImageHeight) / 2 - 12, -- asset png is not centered on the y axis + headerImageWidth, headerImageHeight, headerTitleImage, 1, 0 ) end