mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Synchronize ASPanningOverriddenUITextView's scrollsToTop when the scrollEnabled property changes
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
- (void)setScrollEnabled:(BOOL)scrollEnabled
|
||||
{
|
||||
_shouldBlockPanGesture = !scrollEnabled;
|
||||
self.scrollsToTop = scrollEnabled;
|
||||
|
||||
[super setScrollEnabled:YES];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user