parent
77560b2fd4
commit
e0fca5ab3f
|
|
@ -152,7 +152,6 @@
|
|||
[UIView setAnimationDuration:duration];
|
||||
self.collectionView.fs_top = -focusedRowNumber*self.calendar.preferredRowHeight;
|
||||
self.calendar.bottomBorder.fs_top = CGRectGetMaxY(targetBounds);
|
||||
NSLog(@"%f",CGRectGetMaxY(targetBounds));
|
||||
if ([self.calendar.delegate respondsToSelector:@selector(calendar:boundingRectWillChange:animated:)]) {
|
||||
[self.calendar.delegate calendar:self.calendar boundingRectWillChange:targetBounds animated:animated];
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,8 @@
|
|||
{
|
||||
[super prepareLayout];
|
||||
|
||||
CGFloat rowHeight = self.calendar.preferredRowHeight;
|
||||
// Round to nearest multiple of 0.5. e.g. (16.8->16.5), (16.2->16.0)
|
||||
CGFloat rowHeight = FSCalendarFloor(self.calendar.preferredRowHeight*2)*0.5;
|
||||
|
||||
if (!self.calendar.floatingMode) {
|
||||
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@
|
|||
|
||||
- (void)invalidateHeaderFont
|
||||
{
|
||||
_titleLabel.font = self.header.appearance.headerTitleFont;
|
||||
_titleLabel.font = self.header.appearance.preferredHeaderTitleFont;
|
||||
}
|
||||
|
||||
- (void)invalidateHeaderTextColor
|
||||
|
|
|
|||
Loading…
Reference in New Issue