From 1d4e9c8d565d1fc36b54e86fba701c6f1c585fa7 Mon Sep 17 00:00:00 2001 From: luozhifu Date: Thu, 3 Nov 2022 12:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=8D=E5=A4=8D=E8=B0=83?= =?UTF-8?q?=E7=94=A8=5FrefreshVirtualList=EF=BC=8C=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E6=98=AFcallLater=E6=97=A0=E6=B3=95clear=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/src/fairygui/GList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/fairygui/GList.ts b/source/src/fairygui/GList.ts index 8c40656..4d957da 100644 --- a/source/src/fairygui/GList.ts +++ b/source/src/fairygui/GList.ts @@ -1100,7 +1100,7 @@ namespace fgui { else if (this._virtualListChanged == 0) this._virtualListChanged = 1; - Laya.timer.callLater(this, this._refreshVirtualList); + Laya.timer.frameOnce(1, this, this._refreshVirtualList); } private _refreshVirtualList(): void {