mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 03:29:32 +00:00
Fixed overlay window image color (#999)
* Fixed overlay window image color * Fixed color property
This commit is contained in:
committed by
Michael Starke
parent
0a7fcc415c
commit
16cdd4dd4f
@@ -60,10 +60,14 @@
|
||||
self.window.alphaValue = 0;
|
||||
self.window.opaque = NO;
|
||||
self.window.hasShadow = YES;
|
||||
self.window.backgroundColor = NSColor.clearColor;
|
||||
|
||||
self.textField.cell.backgroundStyle = NSBackgroundStyleLowered;
|
||||
self.imageView.cell.backgroundStyle = NSBackgroundStyleDark;
|
||||
self.imageView.cell.backgroundStyle = NSBackgroundStyleEmphasized;
|
||||
((NSImageCell *)self.imageView.cell).imageAlignment = NSImageAlignCenter;
|
||||
if (@available(macOS 10.14, *)) {
|
||||
self.imageView.contentTintColor = NSColor.textColor;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)displayOverlayImage:(NSImage *)imageOrNil label:(NSString *)labelOrNil atView:(NSView *)view {
|
||||
|
||||
Reference in New Issue
Block a user