日历选中问题
This commit is contained in:
@@ -234,14 +234,12 @@ export class DailyChallenge extends Laya.Script {
|
|||||||
StorageManager.getInstance().cleanStage(stageID)
|
StorageManager.getInstance().cleanStage(stageID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
unit.setCalendarUnit(info.year, info.month, day, open, progress, this, this.onClickUnit)
|
|
||||||
if (info.year === nowYear && info.month === nowMonth && day === nowDay) {
|
if (info.year === nowYear && info.month === nowMonth && day === nowDay) {
|
||||||
todayUnit = unit
|
todayUnit = unit
|
||||||
}
|
}
|
||||||
if (progress < 1) {
|
|
||||||
lastUnfinishUnit = unit
|
lastUnfinishUnit = unit
|
||||||
}
|
}
|
||||||
|
unit.setCalendarUnit(info.year, info.month, day, open, progress, this, this.onClickUnit)
|
||||||
day++
|
day++
|
||||||
} else {
|
} else {
|
||||||
unit.owner.visible = false
|
unit.owner.visible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user