fix numpadenter on console (#469)
made numpadenter do the same thing as enter on console
This commit is contained in:
@@ -979,7 +979,7 @@ function scene.wheelMoved(_,y)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function scene.keyDown(key)
|
function scene.keyDown(key)
|
||||||
if key=="return"then
|
if key=="return" or key=="kpenter"then
|
||||||
local input=STRING.trim(inputBox:getText())
|
local input=STRING.trim(inputBox:getText())
|
||||||
if input==""then return end
|
if input==""then return end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user