From a792190d44bc00e0852a70277188b1477b14e318 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 20 Feb 2021 04:04:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=84=E7=90=86=E8=90=BD?= =?UTF-8?q?=E7=8E=87=E6=98=BE=E7=A4=BA=E5=8F=AF=E8=83=BD=E4=BC=9A=E6=9C=89?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E8=B4=9F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/pause.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index 6e9ecabc..c2e4a570 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -38,9 +38,9 @@ function scene.sceneInit(org) timer=org=="play"and 0 or 50 - local frameLost=100-S.frame/S.time*5/3 + local frameLostRate=(S.frame/S.time/60-1)*100 form={ - {COLOR.white,toTime(S.time),COLOR[frameLost>10 and"red"or frameLost>3 and"yellow"or"grey"],format(" (-%.2f%%)",frameLost)}, + {COLOR.white,toTime(S.time),COLOR[frameLostRate>10 and"red"or frameLostRate>3 and"yellow"or"grey"],format(" (%.2f%%)",frameLostRate)}, format("%d/%d/%d",S.key,S.rotate,S.hold), format("%d %.2fPPS",S.piece,S.piece/S.time), format("%d(%d) %.2fLPM",S.row,S.dig,S.row/S.time*60),