英雄列表界面
This commit is contained in:
parent
47242af939
commit
3755f870bc
@ -25,10 +25,12 @@ function HeroListCell:refresh(index, heroList, stageFormation, allHeroCount, act
|
||||
end)
|
||||
if activeCount > 0 and index == 1 then
|
||||
self.title:setVisible(true)
|
||||
self.title:setSprite(GConst.ATLAS_PATH.COMMON, "common_board_105")
|
||||
self.titleTx:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_6))
|
||||
self:getBaseObject():setSizeDeltaY(H.HAS_TITLE)
|
||||
elseif index == math.ceil(activeCount / 4) + 1 then
|
||||
self.title:setVisible(true)
|
||||
self.title:setSprite(GConst.ATLAS_PATH.COMMON, "common_board_116")
|
||||
self.titleTx:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_7))
|
||||
self:getBaseObject():setSizeDeltaY(H.HAS_TITLE)
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user