diff options
Diffstat (limited to 'macosx/PictureController.m')
-rw-r--r-- | macosx/PictureController.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/PictureController.m b/macosx/PictureController.m index cfb34049b..2c225eb70 100644 --- a/macosx/PictureController.m +++ b/macosx/PictureController.m @@ -155,6 +155,14 @@ static void *HBPictureControllerContext = &HBPictureControllerContext; { [[self window] setExcludedFromWindowsMenu:YES]; + // Set the panel appearance explicity to aqua. + // can be removed when Apple will fix UI appearance on Yosemite. + if (NSClassFromString(@"NSVisualEffectView")) { + [self.window setAppearance:[NSClassFromString(@"NSAppearance") appearanceNamed:@"NSAppearanceNameAqua"]]; + } + + [[self window] setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameAqua]]; + /* Populate the user interface */ [fWidthStepper setValueWraps: NO]; [fHeightStepper setValueWraps: NO]; |