From 3755f870bc6ebf5e86666e7868c302afad979fa3 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sat, 3 Jun 2023 19:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E5=88=97=E8=A1=A8=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= 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 d0150529..5633db94 100644 --- a/lua/app/ui/hero/cell/hero_list_cell.lua +++ b/lua/app/ui/hero/cell/hero_list_cell.lua @@ -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