修正显示额外next时用的颜色为那个方块真正的颜色(而不是玩家当前设置) close #370
This commit is contained in:
@@ -459,12 +459,11 @@ local function _drawNext(P,repMode)
|
|||||||
if repMode then
|
if repMode then
|
||||||
gc_translate(50,-28)
|
gc_translate(50,-28)
|
||||||
local blockImg=TEXTURE.miniBlock
|
local blockImg=TEXTURE.miniBlock
|
||||||
local skinSet=ENV.skin
|
|
||||||
local n=N
|
local n=N
|
||||||
while n<=12 and queue[n]do
|
while n<=12 and queue[n]do
|
||||||
local id=queue[n].id
|
local id=queue[n].id
|
||||||
local _=minoColor[skinSet[id]]
|
local _=minoColor[queue[n].color]
|
||||||
gc_setColor(_[1],_[2],_[3],.2)
|
gc_setColor(_[1],_[2],_[3],.26)
|
||||||
_=blockImg[id]
|
_=blockImg[id]
|
||||||
gc_draw(_,-_:getWidth()*10,0,nil,10,nil)
|
gc_draw(_,-_:getWidth()*10,0,nil,10,nil)
|
||||||
gc_translate(0,10*_:getHeight()+3)
|
gc_translate(0,10*_:getHeight()+3)
|
||||||
|
|||||||
Reference in New Issue
Block a user