【ID1019215】

【坐骑合成】坐骑合成时拖动进度条可以把当前合成数量变成0,点击加号提示神将已达上限
dev_chengFeng
jiaoyangna 2021-11-22 16:38:24 +08:00
parent 7722ede726
commit 083d33b237
1 changed files with 3 additions and 3 deletions

View File

@ -116,13 +116,13 @@ function BagResolveAnCompoundPanel:BindEvent()
this.ShowCompoundNumData(compoundNum)
end
else
if endHeroNum > 0 then
if compoundNum > 0 then
if compoundNum<compoundMaxNum then
compoundNum=compoundNum+1
this.ShowCompoundNumData(compoundNum)
end
else
PopupTipPanel.ShowTip(Language[12157])
PopupTipPanel.ShowTip("已达上限")
end
end
end)
@ -329,7 +329,7 @@ function this.OnShowLayout3Data()
compoundNum= compoundNum>=compoundMaxNum and compoundMaxNum or compoundNum
if compoundMaxNum > 0 then
this.Slider:GetComponent("Slider").value=1
this.Slider:GetComponent("Slider").minValue=0
this.Slider:GetComponent("Slider").minValue=1
else
this.Slider:GetComponent("Slider").value=0
this.Slider:GetComponent("Slider").minValue=0