mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add ability to customize NSLayoutManager and NSTextStorage when created in the ASTextKitContext
This commit is contained in:
@@ -23,7 +23,8 @@ size_t ASTextKitAttributes::hash() const
|
||||
[attributedString hash],
|
||||
[truncationAttributedString hash],
|
||||
[avoidTailTruncationSet hash],
|
||||
std::hash<NSUInteger>()((NSUInteger) layoutManagerFactory),
|
||||
std::hash<NSUInteger>()((NSUInteger) layoutManagerCreationBlock),
|
||||
std::hash<NSUInteger>()((NSUInteger) textStorageCreationBlock),
|
||||
std::hash<NSInteger>()(lineBreakMode),
|
||||
std::hash<NSInteger>()(maximumNumberOfLines),
|
||||
[exclusionPaths hash],
|
||||
|
||||
Reference in New Issue
Block a user