mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Build ChatListUI
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#import "TGPhotoPaintSettingsWrapperView.h"
|
||||
|
||||
@implementation TGPhotoPaintSettingsWrapperView
|
||||
|
||||
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
|
||||
{
|
||||
UIView *view = [super hitTest:point withEvent:event];
|
||||
if (view == self)
|
||||
{
|
||||
CGPoint location = [self convertPoint:point toView:nil];
|
||||
|
||||
if (self.pressed != nil)
|
||||
self.pressed(location);
|
||||
|
||||
if (self.suppressTouchAtPoint != nil && self.suppressTouchAtPoint(location))
|
||||
return view;
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user