From 89295029a72c969d8f75bcced1b50d8116580aa4 Mon Sep 17 00:00:00 2001 From: FajsiEx Date: Thu, 26 Aug 2021 20:17:17 +0200 Subject: [PATCH] / font bug on title screen & * replace debug text with scroll --- scripts/titlescreen.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/titlescreen.lua b/scripts/titlescreen.lua index 6519bd3..5ec7532 100644 --- a/scripts/titlescreen.lua +++ b/scripts/titlescreen.lua @@ -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();