diff --git a/Sources/JTAppleCalendarLayout.swift b/Sources/JTAppleCalendarLayout.swift index 33569177..0c466a03 100644 --- a/Sources/JTAppleCalendarLayout.swift +++ b/Sources/JTAppleCalendarLayout.swift @@ -200,6 +200,8 @@ open class JTAppleCalendarLayout: UICollectionViewLayout, xCellOffset = 0 yCellOffset += attribute.frame.height contentHeight += attribute.frame.height + } else if totalDayCounter == delegate.totalDays { + contentHeight += attribute.frame.height } } }