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