Skip to content

Commit

Permalink
Fix to swipe background color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Tzach committed Oct 11, 2015
1 parent eb803c9 commit d65e533
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MGSwipeTableCell/MGSwipeTableCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -1252,4 +1252,9 @@ -(BOOL) isSwipeGestureActive
return _panRecognizer.state == UIGestureRecognizerStateBegan || _panRecognizer.state == UIGestureRecognizerStateChanged;
}

-(void)setSwipeBackgroundColor:(UIColor *)swipeBackgroundColor {
_swipeBackgroundColor = swipeBackgroundColor;
_swipeOverlay.backgroundColor = swipeBackgroundColor;
}

@end

0 comments on commit d65e533

Please sign in to comment.