Skip to content

Commit

Permalink
Merge pull request #309 from mohtasimabrar/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kvyatkovskys authored Mar 13, 2023
2 parents 250dff5 + a232c24 commit b10b6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KVKCalendar/TimelineEventLayout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public extension TimelineEventLayoutContext {
newFrame.size.height = defaultHeight
} else if end.kvkHour == time.hashTime, end.kvkDay == date?.kvkDay {
// to avoid crash https://github.com/kvyatkovskys/KVKCalendar/issues/237
if start.kvkHour == end.kvkHour && start.kvkMinute == end.kvkMinute {
if start.kvkDay == end.kvkDay && start.kvkHour == end.kvkHour && start.kvkMinute == end.kvkMinute {
newFrame.size.height = 30
return
}
Expand Down

0 comments on commit b10b6b3

Please sign in to comment.