set gray
This commit is contained in:
@@ -186,9 +186,11 @@ export class DailyChallenge extends Laya.Script {
|
||||
if (starCount >= info.dayCount) {
|
||||
this.bg_dc.skin = respath.dc_top_bg_month_finish
|
||||
this.trophy_light.visible = true
|
||||
this.trophy_icon.gray = false
|
||||
} else {
|
||||
this.bg_dc.skin = respath.dc_top_bg_normal
|
||||
this.trophy_light.visible = false
|
||||
this.trophy_icon.gray = true
|
||||
}
|
||||
this.label_year.text = info.year.toString()
|
||||
this.label_month.text = config.MONTH_FULLNAMES[info.month - 1]
|
||||
|
||||
Reference in New Issue
Block a user