【ID1010611】【装备合成优化】合成装备后,下方的装备列表不再重置回默认位置

dev_chengFeng
gaoxin 2021-11-02 16:57:19 +08:00
parent 44415cfded
commit d43b8282ec
1 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ function this:OnSortingOrderChange(_sortingOrder)
Util.AddParticleSortLayer(v, _sortingOrder - sortingOrder ) Util.AddParticleSortLayer(v, _sortingOrder - sortingOrder )
end end
end end
function this.OnClickTabBtn(_curIndex) function this.OnClickTabBtn(_curIndex, isNotTop,isNotAni)
curIndex = _curIndex curIndex = _curIndex
bagPosEquips = EquipManager.GetEquipCompoundDataByEquipPosition1(curIndex) bagPosEquips = EquipManager.GetEquipCompoundDataByEquipPosition1(curIndex)
local equipDatas = EquipManager.GetAllSEquipsByPosition(curIndex) local equipDatas = EquipManager.GetAllSEquipsByPosition(curIndex)
@ -123,7 +123,7 @@ function this.OnClickTabBtn(_curIndex)
this.ScrollView:SetData(equipDatas, function (index, go) this.ScrollView:SetData(equipDatas, function (index, go)
this.SingleItemDataShow(go, equipDatas[index],equipStarsConfig[equipDatas[index].Star]) this.SingleItemDataShow(go, equipDatas[index],equipStarsConfig[equipDatas[index].Star])
end) end, isNotTop, isNotAni)
this.ShowTitleData(equipStarsConfig[curSelectEquip.Star]) this.ShowTitleData(equipStarsConfig[curSelectEquip.Star])
end end
@ -306,7 +306,7 @@ function this.Compound()
SoundManager.PlaySound(SoundConfig.UI_Duanzao) SoundManager.PlaySound(SoundConfig.UI_Duanzao)
-- SoundManager.PlaySound(SoundConfig.UI_Baoqi) -- SoundManager.PlaySound(SoundConfig.UI_Baoqi)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function() UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
this.OnClickTabBtn(curIndex) this.OnClickTabBtn(curIndex, true, true)
end) end)
end) end)
end end
@ -398,7 +398,7 @@ function this.AutoCompound(_position)
NetManager.ComplexEquipRequest(curIndex,0,0,function(msg) NetManager.ComplexEquipRequest(curIndex,0,0,function(msg)
SoundManager.PlaySound(SoundConfig.UI_Duanzao) SoundManager.PlaySound(SoundConfig.UI_Duanzao)
SoundManager.PlaySound(SoundConfig.UI_Baoqi) SoundManager.PlaySound(SoundConfig.UI_Baoqi)
this.OnClickTabBtn(curIndex) this.OnClickTabBtn(curIndex, true, true)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function() UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
end) end)
end) end)