cmd不用考虑输入焦点问题了

This commit is contained in:
MrZ626
2021-03-18 20:37:08 +08:00
parent f74a421f64
commit 7bcbb4c5b9

View File

@@ -653,9 +653,8 @@ function scene.keyDown(k)
end
elseif combKey[k]and kb.isDown("lctrl","rctrl")then
combKey[k]()
elseif k=="escape"then
WIDGET.sel=inputBox
else
if WIDGET.sel~=inputBox then WIDGET.sel=inputBox end
WIDGET.keyPressed(k)
end
end