parent
7722ede726
commit
083d33b237
|
@ -116,13 +116,13 @@ function BagResolveAnCompoundPanel:BindEvent()
|
||||||
this.ShowCompoundNumData(compoundNum)
|
this.ShowCompoundNumData(compoundNum)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if endHeroNum > 0 then
|
if compoundNum > 0 then
|
||||||
if compoundNum<compoundMaxNum then
|
if compoundNum<compoundMaxNum then
|
||||||
compoundNum=compoundNum+1
|
compoundNum=compoundNum+1
|
||||||
this.ShowCompoundNumData(compoundNum)
|
this.ShowCompoundNumData(compoundNum)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
PopupTipPanel.ShowTip(Language[12157])
|
PopupTipPanel.ShowTip("已达上限")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
@ -329,7 +329,7 @@ function this.OnShowLayout3Data()
|
||||||
compoundNum= compoundNum>=compoundMaxNum and compoundMaxNum or compoundNum
|
compoundNum= compoundNum>=compoundMaxNum and compoundMaxNum or compoundNum
|
||||||
if compoundMaxNum > 0 then
|
if compoundMaxNum > 0 then
|
||||||
this.Slider:GetComponent("Slider").value=1
|
this.Slider:GetComponent("Slider").value=1
|
||||||
this.Slider:GetComponent("Slider").minValue=0
|
this.Slider:GetComponent("Slider").minValue=1
|
||||||
else
|
else
|
||||||
this.Slider:GetComponent("Slider").value=0
|
this.Slider:GetComponent("Slider").value=0
|
||||||
this.Slider:GetComponent("Slider").minValue=0
|
this.Slider:GetComponent("Slider").minValue=0
|
||||||
|
|
Loading…
Reference in New Issue