From 383a65ad7e5f15e6eeea1b3f53ee81c196a416f3 Mon Sep 17 00:00:00 2001 From: Victor Shamanov Date: Tue, 26 Feb 2019 14:31:43 +0000 Subject: [PATCH] Round layout calculations --- .../Chat Items/CompoundMessage/Views/CompoundBubbleLayout.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChattoAdditions/Source/Chat Items/CompoundMessage/Views/CompoundBubbleLayout.swift b/ChattoAdditions/Source/Chat Items/CompoundMessage/Views/CompoundBubbleLayout.swift index 6f9211421..c7a3b5bb9 100644 --- a/ChattoAdditions/Source/Chat Items/CompoundMessage/Views/CompoundBubbleLayout.swift +++ b/ChattoAdditions/Source/Chat Items/CompoundMessage/Views/CompoundBubbleLayout.swift @@ -90,7 +90,7 @@ public struct CompoundBubbleLayoutProvider { maxY = frame.maxY } return CompoundBubbleLayout( - size: CGSize(width: resultWidth, height: maxY), + size: CGSize(width: resultWidth, height: maxY).bma_round(), subviewsFrames: subviewsFrames, safeAreaInsets: safeAreaInsets )