【活动】页签使用原图大小
parent
e0a3b3837c
commit
b423005b6e
|
@ -196,6 +196,7 @@ function this.PageTabAdapter(tab, index, status)
|
||||||
sprite = (status == "select" and tabs[index].Icon[2] or tabs[index].Icon[1])
|
sprite = (status == "select" and tabs[index].Icon[2] or tabs[index].Icon[1])
|
||||||
end
|
end
|
||||||
img.sprite = this.spLoader:LoadSprite(sprite)
|
img.sprite = this.spLoader:LoadSprite(sprite)
|
||||||
|
img:SetNativeSize()
|
||||||
--设置显示隐藏
|
--设置显示隐藏
|
||||||
if not DynamicActivityManager.IsQualifiled(tabs[index].Id) then
|
if not DynamicActivityManager.IsQualifiled(tabs[index].Id) then
|
||||||
tab.gameObject:SetActive(false)
|
tab.gameObject:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue