整理代码

This commit is contained in:
MrZ626
2021-03-29 14:07:37 +08:00
parent 1ad3acb5a5
commit a439d55bf8
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ function love.touchpressed(id,x,y)
if SCN.touchDown then SCN.touchDown(x,y)end
if kb.hasTextInput()then kb.setTextInput(false)end
end
function love.touchmoved(id,x,y,dx,dy)
function love.touchmoved(_,x,y,dx,dy)
if SCN.swapping then return end
x,y=xOy:inverseTransformPoint(x,y)
if SCN.touchMove then SCN.touchMove(x,y,dx/SCR.k,dy/SCR.k)end