删除部分场景遗留的鼠标右键返回

This commit is contained in:
MrZ626
2021-04-29 18:05:25 +08:00
parent 5607930540
commit 89b87be143
3 changed files with 1 additions and 6 deletions

View File

@@ -37,8 +37,6 @@ end
function scene.mouseDown(k)
if k==1 then
scene.keyDown("space")
elseif k==2 then
SCN.back()
end
end
function scene.touchDown()

View File

@@ -79,8 +79,6 @@ end
function scene.mouseDown(_,_,k)
if k==1 then
scene.keyDown("space")
elseif k==2 then
scene.keyDown("escape")
end
end
function scene.touchDown()

View File

@@ -34,8 +34,7 @@ local function onVK_org(x,y)
return nearest
end
function scene.mouseDown(x,y,k)
if k==2 then SCN.back()end
scene.touchDown(x,y)
if k==1 then scene.touchDown(x,y)end
end
function scene.mouseUp()
scene.touchUp()