Skip to content

Commit

Permalink
Fix issue #514
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoD committed Dec 15, 2016
1 parent f7ca214 commit b033061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FSCalendar/FSCalendar.m
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ - (void)setToday:(NSDate *)today
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)];
}
}

Expand Down

0 comments on commit b033061

Please sign in to comment.