mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge pull request #1455 from ejensen/scrolls-to-top
[ASEditableTextNode] Synchronize scrollsToTop with scrollEnabled
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
- (void)setScrollEnabled:(BOOL)scrollEnabled
|
||||
{
|
||||
_shouldBlockPanGesture = !scrollEnabled;
|
||||
self.scrollsToTop = scrollEnabled;
|
||||
|
||||
[super setScrollEnabled:YES];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user