Skip to content

Commit

Permalink
Merge pull request jumartin#59 from patrickHelmedica/master
Browse files Browse the repository at this point in the history
Allow selection of time events which are not completely in view
  • Loading branch information
jumartin authored Dec 6, 2016
2 parents 631a7ad + 1ed3adc commit eb87812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CalendarLib/MGCDayPlannerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ - (void)setupSubviews
frame.origin = [self offsetFromDate:self.interactiveCellDate eventType:self.interactiveCellType];
frame.size.width = self.dayColumnSize.width;
self.interactiveCell.frame = frame;
self.interactiveCell.hidden = (self.interactiveCellType == MGCTimedEventType && !CGRectContainsRect(self.timedEventsView.frame, frame));
self.interactiveCell.hidden = (self.interactiveCellType == MGCTimedEventType && !CGRectIntersectsRect(self.timedEventsView.frame, frame));
}

[self.allDayEventsView flashScrollIndicators];
Expand Down

0 comments on commit eb87812

Please sign in to comment.