mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix bg
This commit is contained in:
parent
7171441b96
commit
26cc304ca0
20 changed files with 263 additions and 139 deletions
|
|
@ -358,6 +358,16 @@ public final class TextNodeLayout: NSObject {
|
|||
}
|
||||
}
|
||||
|
||||
public struct LayoutInfo: Equatable {
|
||||
public let size: CGSize
|
||||
public let trailingLineWidth: CGFloat
|
||||
|
||||
public init(size: CGSize, trailingLineWidth: CGFloat) {
|
||||
self.size = size
|
||||
self.trailingLineWidth = trailingLineWidth
|
||||
}
|
||||
}
|
||||
|
||||
public let attributedString: NSAttributedString?
|
||||
fileprivate let maximumNumberOfLines: Int
|
||||
fileprivate let truncationType: CTLineTruncationType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue