临时文本
This commit is contained in:
parent
ed7bf4ace4
commit
2552a6b595
@ -20,9 +20,11 @@ end
|
||||
function HeroListCell:refresh(index, heroList, allHeroCount, activeCount)
|
||||
if activeCount > 0 and index == 1 then
|
||||
self.title:setVisible(true)
|
||||
self.titleTx:setText("临时文本:已解锁")
|
||||
self:getBaseObject():setSizeDeltaY(H.HAS_TITLE)
|
||||
elseif index == math.ceil(activeCount / 4) + 1 then
|
||||
self.title:setVisible(true)
|
||||
self.titleTx:setText("临时文本:未解锁")
|
||||
self:getBaseObject():setSizeDeltaY(H.HAS_TITLE)
|
||||
else
|
||||
self.title:setVisible(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user