修复包分界线关不掉

包分界线颜色改成透明灰
This commit is contained in:
MrZ626
2021-08-26 19:38:47 +08:00
parent a64edc70ed
commit a4c9bdef4a
2 changed files with 5 additions and 5 deletions

View File

@@ -577,9 +577,9 @@ function draw.drawNext_norm(P,repMode)
gc_pop()
if ENV.bagLine then
gc_setColor(.8,.5,.5)
gc_setColor(.8,.8,.8,.8)
for i=-P.pieceCount%ENV.bagLine,N-1,ENV.bagLine do--i=phase
gc_rectangle('fill',2,72*i+3,96,2)
gc_rectangle('fill',1,72*i+3,98,2)
end
end
gc_translate(-488,-20)
@@ -642,9 +642,9 @@ function draw.drawNext_hidden(P,repMode)
gc_pop()
if ENV.bagLine then
gc_setColor(.8,.5,.5)
gc_setColor(.8,.8,.8,.8)
for i=-P.pieceCount%ENV.bagLine,N-1,ENV.bagLine do--i=phase
gc_rectangle('fill',2,72*i+3,96,2)
gc_rectangle('fill',1,72*i+3,98,2)
end
end
gc_translate(-476,-20)

View File

@@ -312,7 +312,7 @@ local function _applyGameEnv(P)--Finish gameEnv processing
ENV.arr=max(ENV.arr,ENV.minarr)
ENV.sdarr=max(ENV.sdarr,ENV.minsdarr)
ENV.bagLine=(ENV.sequence=='bag'or ENV.sequence=='loop')and #ENV.seqData
ENV.bagLine=ENV.bagLine and(ENV.sequence=='bag'or ENV.sequence=='loop')and #ENV.seqData
if ENV.nextCount==0 then ENV.nextPos=false end