控件模块/场景代码更好地响应系统长按
This commit is contained in:
@@ -122,7 +122,8 @@ local function merge()
|
||||
failPos=cy*10+cx
|
||||
end
|
||||
end
|
||||
function scene.keyDown(key)
|
||||
function scene.keyDown(key,isRep)
|
||||
if isRep then return end
|
||||
if key=="up"or key=="down"or key=="left"or key=="right"then
|
||||
if state==2 then return end
|
||||
if not cx then
|
||||
|
||||
Reference in New Issue
Block a user