控件模块/场景代码更好地响应系统长按
This commit is contained in:
@@ -80,7 +80,8 @@ end
|
||||
function scene.touchDown(x,y)
|
||||
tapBoard(x,y)
|
||||
end
|
||||
function scene.keyDown(key)
|
||||
function scene.keyDown(key,isRep)
|
||||
if isRep then return end
|
||||
if key=="z"or key=="x"then
|
||||
love.mousepressed(ms.getPosition())
|
||||
elseif key=="space"then
|
||||
|
||||
Reference in New Issue
Block a user