mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Quote improvements
This commit is contained in:
@@ -594,6 +594,8 @@ public class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
let trailingWidthToMeasure: CGFloat
|
||||
if let lastSegment = textLayout.segments.last, lastSegment.hasRTL {
|
||||
trailingWidthToMeasure = 10000.0
|
||||
} else if let lastSegment = textLayout.segments.last, lastSegment.hasBlockQuote {
|
||||
trailingWidthToMeasure = textLayout.size.width
|
||||
} else {
|
||||
trailingWidthToMeasure = textLayout.trailingLineWidth
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user