Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,12 @@ - (void)setPropKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN:(nullable NSSet<N

- (void)updateClippedSubviewsWithClipRect:(CGRect)clipRect relativeToView:(UIView *)clipView
{
clipRect = [clipView convertRect:clipRect toView:self];

// Normal views don't support unmounting, so all
// this does is forward message to our subviews,
// in case any of those do support it
// in case any of those do support it. The rect stays relative to `clipView`;
// a view that clips converts it to its own coordinates.
for (UIView *subview in self.subviews) {
[subview updateClippedSubviewsWithClipRect:clipRect relativeToView:self];
[subview updateClippedSubviewsWithClipRect:clipRect relativeToView:clipView];
}
}

Expand Down
Loading