We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec503b commit 14ebd32Copy full SHA for 14ebd32
SWTableViewCell/PodFiles/SWTableViewCell.m
@@ -467,6 +467,8 @@ - (void)updateCellState
467
468
// Update the clipping on the utility button views according to the current position.
469
CGRect frame = [self.contentView.superview convertRect:self.contentView.frame toView:self];
470
+ frame.size.width = CGRectGetWidth(self.frame);
471
+
472
self.leftUtilityClipConstraint.constant = MAX(0, CGRectGetMinX(frame) - CGRectGetMinX(self.frame));
473
self.rightUtilityClipConstraint.constant = MIN(0, CGRectGetMaxX(frame) - CGRectGetMaxX(self.frame));
474
0 commit comments