From b1d5490e1b8713643e3ebb422721400676d9baf4 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 9 Jul 2021 01:32:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_console.lua | 2 +- parts/scenes/dict.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/scenes/app_console.lua b/parts/scenes/app_console.lua index 648b2d40..960b732d 100644 --- a/parts/scenes/app_console.lua +++ b/parts/scenes/app_console.lua @@ -820,7 +820,7 @@ userG.the_key=first_key local scene={} function scene.sceneInit() - TASK.new(function()WIDGET.focus(inputBox)end) + WIDGET.focus(inputBox) BG.set('none') end diff --git a/parts/scenes/dict.lua b/parts/scenes/dict.lua index 258c25eb..8ca0be6c 100644 --- a/parts/scenes/dict.lua +++ b/parts/scenes/dict.lua @@ -68,7 +68,7 @@ function scene.sceneInit() scrollPos=0 lastSearch=false - TASK.new(function()YIELD()WIDGET.focus(inputBox)end) + WIDGET.focus(inputBox) BG.set('rainbow') end