mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
No need to set userInteractionEnabled in the ASTextNode init method
The userInteractionEnabled state will be set by ASControlNode in viewDidLoad to the fitting value.
This commit is contained in:
@@ -104,8 +104,6 @@ static NSArray *DefaultLinkAttributeNames = @[ NSLinkAttributeName ];
|
||||
_shadowOpacity = [super shadowOpacity];
|
||||
_shadowRadius = [super shadowRadius];
|
||||
|
||||
// Disable user interaction for text node by default.
|
||||
self.userInteractionEnabled = NO;
|
||||
self.needsDisplayOnBoundsChange = YES;
|
||||
|
||||
_truncationMode = NSLineBreakByWordWrapping;
|
||||
|
||||
Reference in New Issue
Block a user