屏幕尺寸相关代码整理,修复部分背景显示不正确

This commit is contained in:
MrZ626
2020-09-03 16:07:46 +08:00
parent 4da23852a7
commit c82f04e115
5 changed files with 24 additions and 16 deletions

View File

@@ -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