mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
19 lines
414 B
Objective-C
19 lines
414 B
Objective-C
#import "TGMenuSheetCollectionView.h"
|
|
|
|
@implementation TGMenuSheetCollectionView
|
|
|
|
- (void)setContentOffset:(CGPoint)contentOffset
|
|
{
|
|
[super setContentOffset:contentOffset];
|
|
}
|
|
|
|
- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated
|
|
{
|
|
if (!self.isTracking && contentOffset.y < -self.contentInset.top)
|
|
return;
|
|
|
|
[super setContentOffset:contentOffset animated:animated];
|
|
}
|
|
|
|
@end
|