File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -231,14 +231,10 @@ - (void)layoutSubviews {
231231 UIView *const contentView = _overrideContentView ?: _contentView;
232232 contentView.frame = ({
233233 CGRect frame = contentBounds;
234- <<<<<<< Updated upstream
235- frame.size = [contentView sizeThatFits: contentBounds.size];
236- =======
237234 const CGSize intrinsicContentSize = contentView.intrinsicContentSize ;
238235 if (intrinsicContentSize.width > 0 .0f && intrinsicContentSize.height > 0 .0f ) {
239236 frame.size = [contentView sizeThatFits: contentBounds.size];
240237 }
241- >>>>>>> Stashed changes
242238 frame.origin .x = (boundsSize.width - frame.size .width ) * 0 .5f ;
243239 frame.origin .y = (boundsSize.height - frame.size .height ) * 0 .5f ;
244240 CGRectIntegral (frame);
You can’t perform that action at this time.
0 commit comments