控件模块/场景代码更好地响应系统长按
This commit is contained in:
@@ -52,7 +52,8 @@ local function testButton(n)
|
||||
WIDGET.focus(scene.widgetList[n])
|
||||
end
|
||||
end
|
||||
function scene.keyDown(key)
|
||||
function scene.keyDown(key,isRep)
|
||||
if isRep then return end
|
||||
if key=="1"then
|
||||
if testButton(1)then
|
||||
SCN.go('mode')
|
||||
|
||||
Reference in New Issue
Block a user