Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Events are drawn as if they overlap when next event begins at the same time the previous event ends #108

Closed
three20bugreport opened this Issue Aug 26, 2011 · 0 comments

Comments

Projects
None yet
1 participant

When next event begins at the same time the previous event ends, the calendar day view "thinks" they overlap, and the events don't fill the whole width (see screenshots below). I changed one line in TKCalendarDayTimelineView's reloadDay method to make it work:

TKCalendarDayTimelineView.m line 253: if ((hourStartPosition + minuteStartPosition) - startMarker <= VERTICAL_DIFF/2) {

(Screenshot BEFORE: http://i.imgur.com/hYtNu.png)

I edited the condition so it has to be strictly less:

TKCalendarDayTimelineView.m line 253: if ((hourStartPosition + minuteStartPosition) - startMarker < VERTICAL_DIFF/2) {

(Screenshot AFTER: http://i.imgur.com/BkTi0.png)

@devinross devinross closed this in 7aa6d0a Mar 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment