mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 20:00:38 +00:00
Various Fixes
This commit is contained in:
parent
6603be006c
commit
9267b394b0
@ -469,6 +469,11 @@
|
|||||||
{
|
{
|
||||||
UIView *view = [super hitTest:point withEvent:event];
|
UIView *view = [super hitTest:point withEvent:event];
|
||||||
|
|
||||||
|
if (CGRectContainsPoint(_zoomModeView.frame, point)) {
|
||||||
|
CGPoint zoomPoint = [self convertPoint:point toView:_zoomModeView];
|
||||||
|
return [_zoomModeView hitTest:zoomPoint withEvent:event];
|
||||||
|
}
|
||||||
|
|
||||||
if ([view isDescendantOfView:_topPanelView] || [view isDescendantOfView:_bottomPanelView] || [view isDescendantOfView:_videoLandscapePanelView] || [view isDescendantOfView:_tooltipContainerView] || [view isDescendantOfView:_selectedPhotosView] || [view isDescendantOfView:_zoomModeView] || view == _zoomModeView || (view == _zoomWheelView && !_zoomWheelView.isHidden))
|
if ([view isDescendantOfView:_topPanelView] || [view isDescendantOfView:_bottomPanelView] || [view isDescendantOfView:_videoLandscapePanelView] || [view isDescendantOfView:_tooltipContainerView] || [view isDescendantOfView:_selectedPhotosView] || [view isDescendantOfView:_zoomModeView] || view == _zoomModeView || (view == _zoomWheelView && !_zoomWheelView.isHidden))
|
||||||
return view;
|
return view;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user