微调launchpad的ui

This commit is contained in:
MrZ626
2021-10-25 03:50:30 +08:00
parent cde61a57b8
commit 6029363af8

View File

@@ -201,11 +201,11 @@ function scene.draw()
if showLabel then
if k.sfx then mStr(k.sfx,x*80+40,y*80-30)gc_circle('fill',x*80+40,(y-1)*80+40,6)end
if k.voc then mStr(k.voc,x*80+40,y*80-17)gc_rectangle('line',x*80+30,(y-1)*80+30,20,20,1)end
if k.bgm then mStr(k.bgm,x*80+40,y*80-76)gc_rectangle('fill',x*80+20,(y-1)*80+15,50,5,2)end
if k.bgm then mStr(k.bgm,x*80+40,y*80-78)gc_rectangle('fill',x*80+20,(y-1)*80+15,40,5,2)end
else
if k.sfx then gc_circle('fill',x*80+40,(y-1)*80+40,6)end
if k.voc then gc_rectangle('line',x*80+30,(y-1)*80+30,20,20,1)end
if k.bgm then gc_rectangle('fill',x*80+20,(y-1)*80+15,50,5,2)end
if k.bgm then gc_rectangle('fill',x*80+20,(y-1)*80+15,40,5,2)end
end
if pad.alpha[y][x]>0 then
gc_setColor(1,1,1,pad.alpha[y][x]*.7)