parent
0dc31808e7
commit
d3256f3c54
|
@ -555,7 +555,7 @@ static AppController *kAppController = nil;
|
|||
NSData *barColor = [colorToValueTransformer reverseTransformedValue:[NSColor colorWithSRGBRed:1.0 green:0.5 blue:0 alpha:1.0]];
|
||||
NSData *dotColor = [colorToValueTransformer reverseTransformedValue:[NSColor systemRedColor]];
|
||||
|
||||
[userDefaultsValuesDict setObject:@(YES) forKey:@"spectrumSceneKit"];
|
||||
[userDefaultsValuesDict setObject:@(YES) forKey:@"spectrumSceneKit"];
|
||||
[userDefaultsValuesDict setObject:barColor forKey:@"spectrumBarColor"];
|
||||
[userDefaultsValuesDict setObject:dotColor forKey:@"spectrumDotColor"];
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@ extern NSString *CogPlaybackDidStopNotficiation;
|
|||
@implementation SpectrumViewSK
|
||||
|
||||
+ (SpectrumViewSK *)createGuardWithFrame:(NSRect)frame {
|
||||
if (![NSUserDefaults.standardUserDefaults boolForKey:@"spectrumSceneKit"])
|
||||
return nil;
|
||||
if (![NSUserDefaults.standardUserDefaults boolForKey:@"spectrumSceneKit"])
|
||||
return nil;
|
||||
|
||||
do {
|
||||
if(@available(macOS 11.0, *)) {
|
||||
|
|
Loading…
Reference in New Issue