disable user interaction when settings menu expanded in-streaming
This commit is contained in:
1 parent
c4bc77db05
commit
91f012ee9f
3 files changed
+13
-31
No files matched your search
@@ -525,6 +525,12 @@
|
||||
[self->_streamView reloadOnScreenWidgetViews]; //update keyboard buttons here
|
||||
}
|
||||
|
||||
- (void)setUserInteractionEnabledForStreamView:(bool)enabled{
|
||||
_streamView.userInteractionEnabled = enabled;
|
||||
for(UIView* view in self.view.subviews){
|
||||
if([view isKindOfClass:[OnScreenWidgetView class]]) view.userInteractionEnabled = enabled;
|
||||
}
|
||||
}
|
||||
|
||||
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {
|
||||
return _streamView;
|
||||
|
||||
Reference in new issue
Block a user