fix:1、删除部分不用的资源代码。2、a面修复bug
This commit is contained in:
@@ -151,7 +151,7 @@ namespace RedHotRoast
|
||||
isToday = GameHelper.InToday(DataMgr.SignState.Value[signDays - 1], 0, true);
|
||||
|
||||
// ui.btn_collect.state.selectedIndex = index == signDays && !(signDays > 0 && isToday)? 0 : 1;
|
||||
ui.btn_collect.state.selectedIndex = 1;
|
||||
|
||||
|
||||
if (index < signDays)
|
||||
{
|
||||
@@ -159,6 +159,7 @@ namespace RedHotRoast
|
||||
}
|
||||
else if (index == signDays)
|
||||
{
|
||||
ui.btn_collect.state.selectedIndex = 1;
|
||||
if (signDays > 0 && isToday)
|
||||
{
|
||||
|
||||
@@ -168,6 +169,7 @@ namespace RedHotRoast
|
||||
{
|
||||
btnSign.state.selectedIndex = 1;
|
||||
ui.btn_collect.state.selectedIndex = 0;
|
||||
|
||||
|
||||
btnSign.isCloseClickAnim = true;
|
||||
// btnSign.status.selectedIndex = btn_sign.State_today;
|
||||
|
||||
Reference in New Issue
Block a user