一堆场景同时允许回车键和小键盘回车键
This commit is contained in:
@@ -72,7 +72,7 @@ function scene.sceneInit()
|
||||
end
|
||||
|
||||
function scene.keyDown(key)
|
||||
if key=='return' then
|
||||
if key=='return' or key=='kpenter' then
|
||||
local rep=listBox:getSel()
|
||||
if rep then
|
||||
_playRep(rep.fileName)
|
||||
|
||||
Reference in New Issue
Block a user