From eeaea5fa01e7c2970b0e2fdea03a74ff34181355 Mon Sep 17 00:00:00 2001 From: sdkjfhsdkjhfsdlkjhfsdf Date: Tue, 19 Dec 2017 18:58:45 -0600 Subject: [PATCH] better match for corner radius // FREEBIE --- .../ConversationView/Cells/OWSMessageCell.m | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m index 7df571e35..7774355df 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m @@ -62,12 +62,15 @@ NS_ASSUME_NONNULL_BEGIN // mask orientation manually. BOOL hasOutgoingMask = self.isOutgoing ^ self.isRTL; - // Since the caption has it's own tail, the media bubble looks better - // without a tail. + // Since the caption has it's own tail, the media bubble just above + // it looks better without a tail. if (self.hideTail) { self.layoutMargins = UIEdgeInsetsMake(0, 0, 2, 8); maskedSubview.clipsToBounds = YES; - maskedSubview.layer.cornerRadius = 10; + + // I arrived at this cornerRadius by superimposing the generated corner + // over that generated from the JSQMessagesMediaViewBubbleImageMasker + maskedSubview.layer.cornerRadius = 17; } else { [JSQMessagesMediaViewBubbleImageMasker applyBubbleImageMaskToMediaView:maskedSubview isOutgoing:hasOutgoingMask];