修复master-ex时间指示条结束的时候绘制错误,略微增加alpha

This commit is contained in:
MrZ626
2021-09-10 16:59:08 +08:00
parent a7b236d528
commit 18f3414f34

View File

@@ -8,10 +8,12 @@ return{
wait=15,
fall=6,
mesDisp=function(P)
gc.setColor(1,1,1,.1)
local h=(3600-P.stat.frame)/10
gc.rectangle('fill',0,475-h,125,h,4)
gc.setColor(COLOR.Z)
if h>0 then
gc.setColor(1,1,1,.12)
gc.rectangle('fill',0,475-h,125,h,4)
gc.setColor(COLOR.Z)
end
mText(drawableText.line,63,310)
mText(drawableText.techrash,63,420)
mText(drawableText.grade,63,180)