/ font bug on title screen & * replace debug text with scroll
This commit is contained in:
parent
16bec98b48
commit
89295029a7
|
@ -1,3 +1,5 @@
|
||||||
|
|
||||||
|
require('common')
|
||||||
local Footer = require('components.footer');
|
local Footer = require('components.footer');
|
||||||
local Background = require('components.background');
|
local Background = require('components.background');
|
||||||
|
|
||||||
|
@ -201,8 +203,7 @@ function drawTexts()
|
||||||
gfx.UpdateLabel(selectorDescriptionLabel, currentFullDescriptionText, 22)
|
gfx.UpdateLabel(selectorDescriptionLabel, currentFullDescriptionText, 22)
|
||||||
|
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
gfx.UpdateLabel(selectorLegendScrollLabel,
|
gfx.UpdateLabel(selectorLegendScrollLabel, 'SCROLL', 20);
|
||||||
'DEBUG: ' .. buttonsMovementScale, 20);
|
|
||||||
|
|
||||||
-- descriptionAlpha = math.abs(selectedButtonScaleY - 0.5) * 2;
|
-- descriptionAlpha = math.abs(selectedButtonScaleY - 0.5) * 2;
|
||||||
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE);
|
gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_MIDDLE);
|
||||||
|
@ -330,6 +331,7 @@ render = function(deltaTime)
|
||||||
|
|
||||||
resetLayoutInformation();
|
resetLayoutInformation();
|
||||||
gfx.Scale(scale, scale);
|
gfx.Scale(scale, scale);
|
||||||
|
gfx.LoadSkinFont("segoeui.ttf")
|
||||||
|
|
||||||
-- Draw background
|
-- Draw background
|
||||||
gfx.BeginPath();
|
gfx.BeginPath();
|
||||||
|
|
Loading…
Reference in New Issue