【活动】页签使用原图大小

dev_chengFeng
gaoxin 2021-06-19 15:28:22 +08:00
parent e0a3b3837c
commit b423005b6e
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ function this.PageTabAdapter(tab, index, status)
sprite = (status == "select" and tabs[index].Icon[2] or tabs[index].Icon[1])
end
img.sprite = this.spLoader:LoadSprite(sprite)
img:SetNativeSize()
--设置显示隐藏
if not DynamicActivityManager.IsQualifiled(tabs[index].Id) then
tab.gameObject:SetActive(false)