From 00e4b82a4e97bfaebb4d64f56808c0dd634527df Mon Sep 17 00:00:00 2001 From: Randy Boring Date: Wed, 27 Feb 2019 01:54:05 -0600 Subject: [PATCH] fix dark/light brokenness by going back to defaults for text colors and button borders but having the background view use windowBackgroundColor instead of white to fill. --- .../KMAboutWindow/KMAboutBGView.m | 2 +- .../KMAboutWindow/KMAboutWindowController.xib | 30 +++++++++---------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutBGView.m b/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutBGView.m index 1139fe33ba..691dc1a6df 100644 --- a/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutBGView.m +++ b/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutBGView.m @@ -11,7 +11,7 @@ @implementation KMAboutBGView - (void)drawRect:(NSRect)rect { - [[NSColor whiteColor] setFill]; + [[NSColor windowBackgroundColor] setFill]; NSRectFillUsingOperation(rect, NSCompositeSourceOver); } diff --git a/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutWindowController.xib b/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutWindowController.xib index d358daf35c..c8eeddb0f6 100644 --- a/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutWindowController.xib +++ b/mac/Keyman4MacIM/Keyman4MacIM/KMAboutWindow/KMAboutWindowController.xib @@ -42,21 +42,21 @@ - + - + - - + + - - + + - + @@ -65,31 +65,29 @@