Fix bad padding on scroll direction changed

Fix bad padding on scroll direction changed
This commit is contained in:
Wenchao Ding 2016-07-26 10:44:33 +08:00
parent 81e33cf4a9
commit b00a938c2f
1 changed files with 1 additions and 0 deletions

View File

@ -774,6 +774,7 @@ typedef NS_ENUM(NSUInteger, FSCalendarOrientation) {
[_header reloadData];
}
_needsAdjustingMonthPosition = YES;
_needsAdjustingViewFrame = YES;
[self setNeedsLayout];
_supressEvent = NO;
break;