升级控件模块,封装focus相关的几个静态方法
This commit is contained in:
@@ -68,8 +68,7 @@ function scene.sceneInit()
|
||||
scrollPos=0
|
||||
|
||||
lastSearch=false
|
||||
TASK.new(function()YIELD()WIDGET.sel=inputBox end)
|
||||
enableTextInput()
|
||||
TASK.new(function()YIELD()WIDGET.focus(inputBox)end)
|
||||
BG.set('rainbow')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user