屏幕尺寸相关代码整理,修复部分背景显示不正确
This commit is contained in:
@@ -1751,7 +1751,7 @@ do--play
|
||||
gc.origin()
|
||||
if restartCount>0 then
|
||||
gc.setColor(0,0,0,restartCount*.05)
|
||||
gc.rectangle("fill",0,0,scr.W,scr.H)
|
||||
gc.rectangle("fill",0,0,scr.w,scr.h)
|
||||
end
|
||||
if game.warnLVL>0 then
|
||||
gc.setColor(0,0,0,0)
|
||||
@@ -1886,7 +1886,7 @@ do--pause
|
||||
gc.setColor(.15,.15,.15,_)
|
||||
gc.push("transform")
|
||||
gc.origin()
|
||||
gc.rectangle("fill",0,0,scr.W,scr.H)
|
||||
gc.rectangle("fill",0,0,scr.w,scr.h)
|
||||
gc.pop()
|
||||
|
||||
--Pause Info
|
||||
|
||||
Reference in New Issue
Block a user