整理代码,较复杂的单行if-then-end拆成多行
This commit is contained in:
@@ -56,7 +56,9 @@ local function _onVK_org(x,y)
|
||||
return nearest
|
||||
end
|
||||
function scene.mouseDown(x,y,k)
|
||||
if k==1 then scene.touchDown(x,y)end
|
||||
if k==1 then
|
||||
scene.touchDown(x,y)
|
||||
end
|
||||
end
|
||||
function scene.mouseUp()
|
||||
scene.touchUp()
|
||||
|
||||
Reference in New Issue
Block a user