开启mod后mod菜单按钮会闪烁
This commit is contained in:
@@ -167,10 +167,15 @@ function scene.draw()
|
||||
gc.setColor(1,1,floor(TIME()*6.26)%2)
|
||||
gc.print("#"..#BAG,615,220)
|
||||
end
|
||||
|
||||
gc.setColor(COLOR.Z)
|
||||
gc.print(CUSTOMENV.sequence,610,250)
|
||||
|
||||
-- Mod indicator
|
||||
if #GAME.mod>0 then
|
||||
gc.setColor(.42,.26,.62,.62+.26*math.sin(TIME()*12.6))
|
||||
gc.rectangle('fill',1110-230/2,200-90/2,230,90,5,5)
|
||||
end
|
||||
|
||||
gc.translate(0,WIDGET.scrollPos)
|
||||
end
|
||||
|
||||
|
||||
@@ -220,6 +220,12 @@ local function _drawModeShape(M,S,drawType)
|
||||
end
|
||||
end
|
||||
function scene.draw()
|
||||
-- Mod indicator
|
||||
if #GAME.mod>0 then
|
||||
gc_setColor(.42,.26,.62,.62+.26*math.sin(TIME()*12.6))
|
||||
gc_rectangle('fill',140-220/2,655-80/2,220,80,5,5)
|
||||
end
|
||||
|
||||
local _
|
||||
gc_push('transform')
|
||||
gc_translate(640,360)
|
||||
|
||||
Reference in New Issue
Block a user