删除部分场景遗留的鼠标右键返回
This commit is contained in:
@@ -37,8 +37,6 @@ end
|
|||||||
function scene.mouseDown(k)
|
function scene.mouseDown(k)
|
||||||
if k==1 then
|
if k==1 then
|
||||||
scene.keyDown("space")
|
scene.keyDown("space")
|
||||||
elseif k==2 then
|
|
||||||
SCN.back()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function scene.touchDown()
|
function scene.touchDown()
|
||||||
|
|||||||
@@ -79,8 +79,6 @@ end
|
|||||||
function scene.mouseDown(_,_,k)
|
function scene.mouseDown(_,_,k)
|
||||||
if k==1 then
|
if k==1 then
|
||||||
scene.keyDown("space")
|
scene.keyDown("space")
|
||||||
elseif k==2 then
|
|
||||||
scene.keyDown("escape")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function scene.touchDown()
|
function scene.touchDown()
|
||||||
|
|||||||
@@ -34,8 +34,7 @@ local function onVK_org(x,y)
|
|||||||
return nearest
|
return nearest
|
||||||
end
|
end
|
||||||
function scene.mouseDown(x,y,k)
|
function scene.mouseDown(x,y,k)
|
||||||
if k==2 then SCN.back()end
|
if k==1 then scene.touchDown(x,y)end
|
||||||
scene.touchDown(x,y)
|
|
||||||
end
|
end
|
||||||
function scene.mouseUp()
|
function scene.mouseUp()
|
||||||
scene.touchUp()
|
scene.touchUp()
|
||||||
|
|||||||
Reference in New Issue
Block a user