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)