Skip to content

Commit 17ad7bd

Browse files
committed
Moar handle spacing
1 parent 3f12c16 commit 17ad7bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FSCalendar/FSCalendar.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,15 @@ - (CGSize)sizeThatFits:(CGSize)size scope:(FSCalendarScope)scope
412412
case FSCalendarScopeMonth: {
413413
CGFloat height = weekdayHeight + headerHeight + [self.calculator numberOfRowsInMonth:_currentPage]*rowHeight + paddings;
414414
// height += _scopeHandle.fs_height;
415-
// This was too much spacing. We arbitrarily decided that 12 was better.
416-
if (_showsScopeHandle) height += 12;
415+
// This was too much spacing. We arbitrarily decided that 14 was better.
416+
if (_showsScopeHandle) height += 14;
417417
return CGSizeMake(size.width, height);
418418
}
419419
case FSCalendarScopeWeek: {
420420
CGFloat height = weekdayHeight + headerHeight + rowHeight + paddings;
421421
// height += _scopeHandle.fs_height;
422-
// This was too much spacing. We arbitrarily decided that 12 was better.
423-
if (_showsScopeHandle) height += 12;
422+
// This was too much spacing. We arbitrarily decided that 14 was better.
423+
if (_showsScopeHandle) height += 14;
424424
return CGSizeMake(size.width, height);
425425
}
426426
}

0 commit comments

Comments
 (0)