修复手机端滚动控件距离问题,升级SCR模块,增加几个方便的成员变量

This commit is contained in:
MrZ626
2021-05-29 18:41:54 +08:00
parent c55f4d3d62
commit 34fc38961c
6 changed files with 13 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ function back.draw()
gc.clear(.1,.1,.1)
end
gc.push('transform')
gc.translate(SCR.w/2,SCR.h/2+20*sin(t*.02))
gc.translate(SCR.cx,SCR.cy+20*sin(t*.02))
gc.scale(SCR.k)
gc.scale(1.1626,1.26)
if -t%6.26<.1355 then