Skip to content

Commit 14ebd32

Browse files
committed
ignore Accessory
1 parent 2ec503b commit 14ebd32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SWTableViewCell/PodFiles/SWTableViewCell.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ - (void)updateCellState
467467

468468
// Update the clipping on the utility button views according to the current position.
469469
CGRect frame = [self.contentView.superview convertRect:self.contentView.frame toView:self];
470+
frame.size.width = CGRectGetWidth(self.frame);
471+
470472
self.leftUtilityClipConstraint.constant = MAX(0, CGRectGetMinX(frame) - CGRectGetMinX(self.frame));
471473
self.rightUtilityClipConstraint.constant = MIN(0, CGRectGetMaxX(frame) - CGRectGetMaxX(self.frame));
472474

0 commit comments

Comments
 (0)