cmd不用考虑输入焦点问题了
This commit is contained in:
@@ -653,9 +653,8 @@ function scene.keyDown(k)
|
|||||||
end
|
end
|
||||||
elseif combKey[k]and kb.isDown("lctrl","rctrl")then
|
elseif combKey[k]and kb.isDown("lctrl","rctrl")then
|
||||||
combKey[k]()
|
combKey[k]()
|
||||||
elseif k=="escape"then
|
|
||||||
WIDGET.sel=inputBox
|
|
||||||
else
|
else
|
||||||
|
if WIDGET.sel~=inputBox then WIDGET.sel=inputBox end
|
||||||
WIDGET.keyPressed(k)
|
WIDGET.keyPressed(k)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user