引导bug修复
This commit is contained in:
parent
6848735fd9
commit
6249f3bd3e
@ -164,7 +164,7 @@ function HeroComp:refreshScrollRect()
|
|||||||
cellCount = cellCount + math.ceil(lockCount / 4)
|
cellCount = cellCount + math.ceil(lockCount / 4)
|
||||||
end
|
end
|
||||||
local currCount = self.scrollRect:getTotalCount()
|
local currCount = self.scrollRect:getTotalCount()
|
||||||
if cellCount == currCount then
|
if cellCount == currCount and not DataManager.TutorialData:getIsInTutorial() then -- 引导的时候强制重新填充
|
||||||
self.scrollRect:refreshAll()
|
self.scrollRect:refreshAll()
|
||||||
else
|
else
|
||||||
self.scrollRect:clearCells()
|
self.scrollRect:clearCells()
|
||||||
|
|||||||
@ -11,7 +11,7 @@ end
|
|||||||
|
|
||||||
function SideBarDiscountCell:getIsOpen()
|
function SideBarDiscountCell:getIsOpen()
|
||||||
-- 同ShopComp:refreshDiscountPage() 一起修改
|
-- 同ShopComp:refreshDiscountPage() 一起修改
|
||||||
if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.MALL, false) then
|
if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.MALL, true) then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user