mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
fix bug: constraint size not updated for frontsizeadjuster
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
{
|
||||
__weak ASTextKitContext *_context;
|
||||
CGFloat _minimumScaleFactor;
|
||||
CGSize _constrainedSize;
|
||||
}
|
||||
|
||||
- (instancetype)initWithContext:(ASTextKitContext *)context
|
||||
@@ -28,7 +27,6 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
- (CGSize)sizeForAttributedString:(NSAttributedString *)attrString
|
||||
{
|
||||
return [attrString boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX)
|
||||
|
||||
Reference in New Issue
Block a user