diff options
-rw-r--r-- | macosx/HBHUDView.m | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/HBHUDView.m b/macosx/HBHUDView.m index bc8bb20c9..27b6407fa 100644 --- a/macosx/HBHUDView.m +++ b/macosx/HBHUDView.m @@ -29,7 +29,7 @@ [view setMaterial:2]; [view setState:1]; - [view setAppearance:[NSAppearance appearanceNamed:@"NSAppearanceNameVibrantDark"]]; + [view setAppearance:[NSClassFromString(@"NSAppearance") appearanceNamed:@"NSAppearanceNameVibrantDark"]]; } - (void)drawRect:(NSRect)dirtyRect @@ -66,9 +66,6 @@ else { self = [super initWithFrame:frame]; - if (self) - { - } } return self; |