bug修复
This commit is contained in:
parent
d46fdec70a
commit
f62e7bc79b
@ -120,7 +120,7 @@ function HeroComp:refreshScrollRect()
|
|||||||
end
|
end
|
||||||
local currCount = self.scrollRect:getTotalCount()
|
local currCount = self.scrollRect:getTotalCount()
|
||||||
if cellCount == currCount then
|
if cellCount == currCount then
|
||||||
self.scrollRect:updateAllCell()
|
self.scrollRect:refreshAll()
|
||||||
else
|
else
|
||||||
self.scrollRect:clearCells()
|
self.scrollRect:clearCells()
|
||||||
self.scrollRect:refillCells(cellCount)
|
self.scrollRect:refillCells(cellCount)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user