Skip to content
Snippets Groups Projects
Commit e45273d1 authored by George Nachman's avatar George Nachman
Browse files

Set find bar text field's apppearance to light when there's a dark theme so it...

Set find bar text field's apppearance to light when there's a dark theme so it is legible. Issue 6330
parent 5fcd81ff
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -363,6 +363,12 @@ const CGFloat kEdgeWidth = 3;
}
 
- (void)open {
if ([findBarTextField_.window.appearance.name isEqual:NSAppearanceNameVibrantDark]) {
findBarTextField_.appearance = [NSAppearance appearanceNamed:NSAppearanceNameVibrantLight];
} else {
findBarTextField_.appearance = nil;
}
if (savedState_) {
[self restoreState];
findBarTextField_.stringValue = state_.string;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment