+ no medal no grade "bages" to data panel

This commit is contained in:
FajsiEx 2021-08-26 15:39:16 +02:00
parent 797761a101
commit 8bf452710e
1 changed files with 29 additions and 27 deletions

View File

@ -425,11 +425,13 @@ function drawData() -- Draws the song data on the left panel
end
gfx.Save()
if bestScore then
-- Draw best score
gfx.BeginPath()
if bestScore then
draw_number(100, 793, 1.0, math.floor(bestScore.score / 10000), 4, scoreNumbers, true, 0.3, 1.12)
draw_number(253, 798, 1.0, bestScore.score, 4, scoreNumbers, true, 0.22, 1.12)
end
-- Draw grade
local gradeImage = gradeImages.none;
@ -455,7 +457,7 @@ function drawData() -- Draws the song data on the left panel
gfx.BeginPath()
gfx.ImageRect(425, 724, 93/1.1, 81/1.1, badgeImage, badgeAlpha, 0)
end
gfx.Restore()
-- Draw BPM