Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 9a8cfbc

Browse files
committed
Merge pull request #364 from adobe/jeff/old-mac-shell
Turn off Dark Shell on Mac
2 parents a7d91e1 + fd12b64 commit 9a8cfbc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

appshell/cefclient_mac.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,14 +574,14 @@ - (void)createApp:(id)object {
574574
[windowButton setHidden:YES];
575575
#endif
576576

577-
578-
577+
#ifdef DARK_UI
579578
NSColorSpace *sRGB = [NSColorSpace sRGBColorSpace];
580579
float fillComp[4] = {0.23137255f, 0.24705882f, 0.25490196f, 1.0};
581580
// Background fill, solid for now.
582581
NSColor *fillColor = [NSColor colorWithColorSpace:sRGB components:fillComp count:4];
583582
[mainWnd setMinSize:NSMakeSize(kMinWindowWidth, kMinWindowHeight)];
584583
[mainWnd setBackgroundColor:fillColor];
584+
#endif
585585

586586
// "Preclude the window controller from changing a window’s position from the
587587
// one saved in the defaults system" (NSWindow Class Reference)

appshell/config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@
6363

6464
#define REMOTE_DEBUGGING_PORT 9234
6565

66+
#ifdef OS_WIN
67+
6668
// Comment out this line to enable OS themed drawing
6769
#define DARK_UI
6870
#define CUSTOM_TRAFFIC_LIGHTS
6971
#define LIGHT_CAPTION_TEXT
72+
73+
#endif

0 commit comments

Comments
 (0)