From f62e7bc79b2b8cba4810a2be404133614a8aaef9 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 20 Jun 2023 18:08:35 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/hero_comp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/ui/hero/hero_comp.lua b/lua/app/ui/hero/hero_comp.lua index a9e72b51..b8245e12 100644 --- a/lua/app/ui/hero/hero_comp.lua +++ b/lua/app/ui/hero/hero_comp.lua @@ -120,7 +120,7 @@ function HeroComp:refreshScrollRect() end local currCount = self.scrollRect:getTotalCount() if cellCount == currCount then - self.scrollRect:updateAllCell() + self.scrollRect:refreshAll() else self.scrollRect:clearCells() self.scrollRect:refillCells(cellCount)