Skip to content

Commit

Permalink
while cell selectionStyle property set to UITableViewCellSelectionSty…
Browse files Browse the repository at this point in the history
…leNone bug fixed
  • Loading branch information
Tim Davies committed Aug 4, 2011
1 parent e85eaa1 commit fe6ff7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TDBadgedCell (xcode project)/TDBadgedCell.m
Expand Up @@ -51,7 +51,7 @@ - (void) drawRect:(CGRect)rect
CGContextSaveGState(context);

UIColor *col;
if (parent.highlighted || parent.selected) {
if((parent.selectionStyle != UITableViewCellSelectionStyleNone) && (parent.highlighted || parent.selected)){
if (self.badgeColorHighlighted) {
col = self.badgeColorHighlighted;
} else {
Expand Down

0 comments on commit fe6ff7a

Please sign in to comment.