This commit is contained in:
Wenchao Ding 2016-12-15 16:04:18 +08:00
parent 90b376f158
commit ea246986ec
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ typedef NS_ENUM(NSUInteger, FSCalendarOrientation) {
if (self.hasValidateVisibleLayout) {
[_collectionView.visibleCells makeObjectsPerformSelector:@selector(setDateIsToday:) withObject:@NO];
[[_collectionView cellForItemAtIndexPath:[self.calculator indexPathForDate:today]] setValue:@YES forKey:@"dateIsToday"];
[_collectionView.visibleCells makeObjectsPerformSelector:@selector(setNeedsLayout)];
[_collectionView.visibleCells makeObjectsPerformSelector:@selector(configureAppearance)];
}
}