碎片弹窗标题消失fix

This commit is contained in:
Fang 2023-07-11 15:13:53 +08:00
parent 7de42dd068
commit a7d2655c8c

View File

@ -69,7 +69,7 @@ function HeroFragmentTips:onLoadRootComplete()
end)
uiMap["hero_fragment_tips.title_bg_img.card"]:setSprite(GConst.ATLAS_PATH.ICON_ITEM, cfg.icon)
uiMap["hero_fragment_tips.title_bg_img.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.HERO_CARD_TIPS_DESC))
uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getText("item", cfg.id, "name"))
uiMap["hero_fragment_tips.title_bg_img.title_text"]:setText(I18N:getText("item", self.itemId, "name"))
uiMap["hero_fragment_tips.title_bg_img.close_btn"]:addClickListener(function()
self:closeUI()
end)