mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Blur and background updates
This commit is contained in:
@@ -242,6 +242,14 @@ public final class TextNodeLayout: NSObject {
|
||||
return 0.0
|
||||
}
|
||||
}
|
||||
|
||||
public var trailingLineIsRTL: Bool {
|
||||
if let lastLine = self.lines.last {
|
||||
return lastLine.isRTL
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
public func attributesAtPoint(_ point: CGPoint, orNearest: Bool) -> (Int, [NSAttributedString.Key: Any])? {
|
||||
if let attributedString = self.attributedString {
|
||||
|
||||
Reference in New Issue
Block a user