fix bug
This commit is contained in:
parent
27f26198b1
commit
aaccaa8bd1
@ -2358,7 +2358,6 @@ function BattleBaseController:getRandomGridInfo()
|
|||||||
if self.atkTeam:checkUniversal() and not self.battleData:hadUniversalGrid() then
|
if self.atkTeam:checkUniversal() and not self.battleData:hadUniversalGrid() then
|
||||||
isUniversal = true
|
isUniversal = true
|
||||||
end
|
end
|
||||||
isUniversal = true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return {gridType = gridType, elementType = elementType, isUniversal = isUniversal}
|
return {gridType = gridType, elementType = elementType, isUniversal = isUniversal}
|
||||||
|
|||||||
@ -36,7 +36,7 @@ function PageBtnsComp:refresh(list, index)
|
|||||||
if index then
|
if index then
|
||||||
self.scrollRect:moveToIndex(index)
|
self.scrollRect:moveToIndex(index)
|
||||||
end
|
end
|
||||||
self.baseObject:setSizeDeltaX(#self.list * 116)
|
self.baseObject:setSizeDeltaX(#self.list * 124)
|
||||||
end
|
end
|
||||||
|
|
||||||
return PageBtnsComp
|
return PageBtnsComp
|
||||||
Loading…
x
Reference in New Issue
Block a user