diff --git a/scripts/result.lua b/scripts/result.lua index df6d2fc..762cfda 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -172,6 +172,8 @@ end local drawTopBar = function() gfx.BeginPath(); local tw, th = gfx.ImageSize(topBarImage); + th = (desw/tw)*th; -- recalculate the height of the bar to scale it down + gfx.ImageRect(0, -th * (1 - Easing.outQuad(transitionEnterScale)), desw, th, topBarImage, 1, 0); end