|
@@ -133,6 +133,10 @@ namespace GFGGame
|
|
|
List<DailySignCfg> signCfgs = DailySignCfgArray.Instance.GetCfgsBymonth(_month);
|
|
|
_ui.m_proSign.target.max = signCfgs[signCfgs.Count - 1].day;
|
|
|
_ui.m_proSign.target.value = _signCount;
|
|
|
+ if (_signCount >= signCfgs[signCfgs.Count - 1].day)
|
|
|
+ {
|
|
|
+ _ui.m_proSign.m_holder.visible = false;
|
|
|
+ }
|
|
|
_ui.m_proSign.m_holder.x = _signCount / signCfgs[signCfgs.Count - 1].day * _ui.m_proSign.target.width - 88;
|
|
|
|
|
|
_ui.m_proSign.m_holderReward.visible = false;
|
|
@@ -140,8 +144,8 @@ namespace GFGGame
|
|
|
{
|
|
|
GComponent comProBonus = _ui.m_proSign.target.GetChild("comProBonus" + i).asCom;
|
|
|
if (i == signCfgs.Count - 1)
|
|
|
- {
|
|
|
- comProBonus.x = ((float)signCfgs[i].day / (float)signCfgs[signCfgs.Count - 1].day) * _ui.m_proSign.target.width - 40;
|
|
|
+ {
|
|
|
+ comProBonus.x = ((float)signCfgs[i].day / (float)signCfgs[signCfgs.Count - 1].day) * _ui.m_proSign.target.width - 48;
|
|
|
}
|
|
|
else
|
|
|
{
|