mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-14 18:29:51 +00:00
ASTextCellNode triggers a relayout after a text change
This commit is contained in:
parent
00400e166f
commit
c7d18a4f1b
@ -139,7 +139,7 @@ static const CGFloat kFontSize = 18.0f;
|
||||
_text = [text copy];
|
||||
_textNode.attributedString = [[NSAttributedString alloc] initWithString:_text
|
||||
attributes:@{NSFontAttributeName: [UIFont systemFontOfSize:kFontSize]}];
|
||||
|
||||
[self setNeedsLayout];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user