mirror of
https://github.com/zakk4223/CocoaSplit.git
synced 2026-05-15 14:15:50 -06:00
Change stream/record button enable logic: stream button is active if ANY output is flagged stream, not if any output is EXCLUSIVELY stream enabled
This commit is contained in:
parent
e71240fc85
commit
690b5bbc29
3 changed files with 6 additions and 3 deletions
|
|
@ -55,8 +55,8 @@
|
|||
config.mediaTypesRequiringUserActionForPlayback = WKAudiovisualMediaTypeNone;
|
||||
}
|
||||
|
||||
|
||||
self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.browser_width, self.browser_height) configuration:[[WKWebViewConfiguration alloc] init]];
|
||||
config.preferences = webPrefs;
|
||||
self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.browser_width, self.browser_height) configuration:config];
|
||||
self.webView.navigationDelegate = self;
|
||||
self.webView.layer.backgroundColor = [NSColor clearColor].CGColor;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#import "WindowCapture.h"
|
||||
#import "WindowCaptureViewController.h"
|
||||
|
||||
|
||||
@implementation WindowCapture
|
||||
|
||||
/* CGWindowListCreateImage sucks. It's really slow. This probably isn't a useful capture type, but whatever */
|
||||
|
|
|
|||
|
|
@ -1251,7 +1251,9 @@ NSString *const CSAppearanceSystem = @"CSAppearanceSystem";
|
|||
if (outdest.isRecorder)
|
||||
{
|
||||
record_outputs++;
|
||||
} else if (outdest.isStreamer) {
|
||||
}
|
||||
|
||||
if (outdest.isStreamer) {
|
||||
stream_outputs++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue