/ top bar scaling in results
This commit is contained in:
parent
570e1d2c6a
commit
bb3445f81e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue