/ jacket position after result texture rework

This commit is contained in:
FajsiEx 2021-09-13 12:15:10 +02:00
parent 93a208dcb0
commit 0f95b9bba0
1 changed files with 3 additions and 3 deletions

View File

@ -458,18 +458,18 @@ end
local drawJacketPanelContent = function()
gfx.BeginPath();
gfx.ImageRect(jacketPanelX + 12, jacketPanelY + 26, 273, 273,
gfx.ImageRect(jacketPanelX + 13, jacketPanelY + 28, 265, 265,
jacketImage or defaultJacketImage, 1, 0);
gfx.BeginPath();
gfx.ImageRect(jacketPanelX + 188, jacketPanelY + 3, 140 / 1.5, 31 / 1.5,
gfx.ImageRect(jacketPanelX + 183, jacketPanelY + 2.5, 140 / 1.5, 31 / 1.5,
difficultyLabelImages[result.difficulty + 1] or
difficultyLabelImages[4], 1, 0);
gfx.FontSize(17)
gfx.LoadSkinFont('Digital-Serial-Bold.ttf')
gfx.TextAlign(gfx.TEXT_ALIGN_RIGHT + gfx.TEXT_ALIGN_MIDDLE)
gfx.Text(result.level, jacketPanelX + 270, jacketPanelY + 14.5);
gfx.Text(result.level, jacketPanelX + 265, jacketPanelY + 13.5);
end
local IR_HeartbeatResponse = function(res)