删除部分场景遗留的鼠标右键返回
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user