Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TimesSquare/TSQCalendarRowCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ - (void)createDayButtons;
NSMutableArray *dayButtons = [NSMutableArray arrayWithCapacity:self.daysInWeek];
for (NSUInteger index = 0; index < self.daysInWeek; index++) {
UIButton *button = [[UIButton alloc] initWithFrame:self.contentView.bounds];
[button addTarget:self action:@selector(dateButtonPressed:) forControlEvents:UIControlEventTouchDown];
[button addTarget:self action:@selector(dateButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
[dayButtons addObject:button];
[self.contentView addSubview:button];
[self configureButton:button];
Expand Down Expand Up @@ -87,7 +87,7 @@ - (void)createTodayButton;
self.todayButton = [[UIButton alloc] initWithFrame:self.contentView.bounds];
[self.contentView addSubview:self.todayButton];
[self configureButton:self.todayButton];
[self.todayButton addTarget:self action:@selector(todayButtonPressed:) forControlEvents:UIControlEventTouchDown];
[self.todayButton addTarget:self action:@selector(todayButtonPressed:) forControlEvents:UIControlEventTouchUpInside];

[self.todayButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[self.todayButton setBackgroundImage:[self todayBackgroundImage] forState:UIControlStateNormal];
Expand Down