控件模块/场景代码更好地响应系统长按
This commit is contained in:
@@ -30,7 +30,8 @@ local forbbidenKeys={
|
||||
["\\"]=true,
|
||||
["return"]=true,
|
||||
}
|
||||
function scene.keyDown(key)
|
||||
function scene.keyDown(key,isRep)
|
||||
if isRep then return end
|
||||
if key=="escape"then
|
||||
if selected then
|
||||
for k,v in next,keyMap.keyboard do
|
||||
|
||||
Reference in New Issue
Block a user