Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-12-23 21:56:46 +04:00
parent cae1dbcd3b
commit 31ee543790
3 changed files with 37 additions and 3 deletions

View File

@@ -114,7 +114,28 @@
}
- (void)setContentSize:(CGSize)contentSize {
[super setContentSize:contentSize];
if (_shouldBlockPanGesture) {
return;
}
[super setContentSize:contentSize];
}
- (void)setContentOffset:(CGPoint)contentOffset {
if (_shouldBlockPanGesture) {
return;
}
[super setContentOffset:contentOffset];
}
- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated {
if (_shouldBlockPanGesture) {
return;
}
[super setContentOffset:contentOffset animated:animated];
}
- (void)setBounds:(CGRect)bounds {
[super setBounds:bounds];
}
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender