Add multipleTouchEnabled for subview of RTCMTLVideoView and RTCEAGLVideoView
Bug: webrtc:11044 Change-Id: Ice4232d54d4680b3228295ef8053e405cd0fa786 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157980 Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org> Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29583}
This commit is contained in:
@ -119,6 +119,11 @@
|
|||||||
self.videoFrameSize = CGSizeZero;
|
self.videoFrameSize = CGSizeZero;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setMultipleTouchEnabled:(BOOL)multipleTouchEnabled {
|
||||||
|
[super setMultipleTouchEnabled:multipleTouchEnabled];
|
||||||
|
self.metalView.multipleTouchEnabled = multipleTouchEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)layoutSubviews {
|
- (void)layoutSubviews {
|
||||||
[super layoutSubviews];
|
[super layoutSubviews];
|
||||||
|
|
||||||
|
@ -137,6 +137,11 @@
|
|||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setMultipleTouchEnabled:(BOOL)multipleTouchEnabled {
|
||||||
|
[super setMultipleTouchEnabled:multipleTouchEnabled];
|
||||||
|
_glkView.multipleTouchEnabled = multipleTouchEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
UIApplicationState appState =
|
UIApplicationState appState =
|
||||||
|
Reference in New Issue
Block a user