【优化】图鉴,选中阵营页签后,查看神将信息,点击返回,应该固定在之前选中的页签上
parent
edc0193ab6
commit
4e74194195
|
@ -144,7 +144,7 @@ function HandBookHeroAndEquipListPanel:OnOpen(_type)
|
|||
end
|
||||
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)
|
||||
function HandBookHeroAndEquipListPanel:OnShow()
|
||||
proId = 0
|
||||
proId = PlayerManager.headBookListTag
|
||||
if OpenType == 1 then
|
||||
self.heroScroll:SetActive(true)
|
||||
self.heroScrollbar:SetActive(false)
|
||||
|
@ -707,6 +707,7 @@ end
|
|||
|
||||
--设置选中按钮
|
||||
function HandBookHeroAndEquipListPanel:SetSelectBtn()
|
||||
PlayerManager.headBookListTag = proId
|
||||
-- self.selectBtn:SetActive(proId ~= ProIdConst.All)
|
||||
if proId ~= ProIdConst.All then
|
||||
self.selectBtn.transform.localPosition = tabs[proId].transform.localPosition
|
||||
|
|
Loading…
Reference in New Issue