From 2552a6b59508effa17cafffc47cd88e4a7c72e8d Mon Sep 17 00:00:00 2001 From: chenxi Date: Mon, 10 Apr 2023 21:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/cell/hero_list_cell.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/app/ui/hero/cell/hero_list_cell.lua b/lua/app/ui/hero/cell/hero_list_cell.lua index 99e3ab78..fb59b24b 100644 --- a/lua/app/ui/hero/cell/hero_list_cell.lua +++ b/lua/app/ui/hero/cell/hero_list_cell.lua @@ -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)