/ font bug on title screen & * replace debug text with scroll

This commit is contained in:
FajsiEx 2021-08-26 20:17:17 +02:00
parent 16bec98b48
commit 89295029a7
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
require('common')
local Footer = require('components.footer');
local Background = require('components.background');
@ -201,8 +203,7 @@ function drawTexts()
gfx.UpdateLabel(selectorDescriptionLabel, currentFullDescriptionText, 22)
gfx.BeginPath();
gfx.UpdateLabel(selectorLegendScrollLabel,
'DEBUG: ' .. buttonsMovementScale, 20);
gfx.UpdateLabel(selectorLegendScrollLabel, 'SCROLL', 20);
-- descriptionAlpha = math.abs(selectedButtonScaleY - 0.5) * 2;
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE);
@ -330,6 +331,7 @@ render = function(deltaTime)
resetLayoutInformation();
gfx.Scale(scale, scale);
gfx.LoadSkinFont("segoeui.ttf")
-- Draw background
gfx.BeginPath();