textBox控件名让给真·文本框,输入框控件改名inputBox,更新历史界面使用文本框控件
This commit is contained in:
@@ -235,7 +235,7 @@ function love.textedited(text)
|
||||
end
|
||||
function love.textinput(text)
|
||||
local W=WIDGET.sel
|
||||
if W and W.type=="textBox"then
|
||||
if W and W.type=="inputBox"then
|
||||
if not W.regex or text:match(W.regex)then
|
||||
WIDGET.sel.value=WIDGET.sel.value..text
|
||||
SFX.play("move")
|
||||
|
||||
Reference in New Issue
Block a user