+ gauge percentage to results

This commit is contained in:
FajsiEx 2021-07-28 17:22:25 +02:00
parent de7101682d
commit 7f5fa3ee9c
1 changed files with 4 additions and 1 deletions

View File

@ -195,8 +195,11 @@ local drawRightPanelContent = function()
gfx.Text(string.format("%08d", highScoreScore), rightPanelX + 962, rightPanelY + 239); gfx.Text(string.format("%08d", highScoreScore), rightPanelX + 962, rightPanelY + 239);
gfx.Text(deltaPrefix .. string.format("%08d", highScoreDelta), rightPanelX + 962, rightPanelY + 259); gfx.Text(deltaPrefix .. string.format("%08d", highScoreDelta), rightPanelX + 962, rightPanelY + 259);
-- Draw err/early/critical/late/err texts -- Draw gauge status
gfx.FontSize(24) gfx.FontSize(24)
gfx.Text(math.floor(result.gauge * 100) .. '%', rightPanelX + 984, rightPanelY + 295);
-- Draw err/early/critical/late/err texts
gfx.Text(earlyLateBarsStats.earlyErrors, rightPanelX + 683, gfx.Text(earlyLateBarsStats.earlyErrors, rightPanelX + 683,
rightPanelY + 370); rightPanelY + 370);