We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e15420 commit 1535ad3Copy full SHA for 1535ad3
1 file changed
JuceLibraryCode/modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm
@@ -138,6 +138,11 @@ static NSRect flippedScreenRect (NSRect r) noexcept
138
[window setDelegate: window];
139
#endif
140
[window setOpaque: component.isOpaque()];
141
+
142
+ #if defined (MAC_OS_X_VERSION_10_14)
143
+ if (! [window isOpaque])
144
+ [window setBackgroundColor: [NSColor clearColor]];
145
+ #endif
146
[window setHasShadow: ((windowStyleFlags & windowHasDropShadow) != 0)];
147
148
if (component.isAlwaysOnTop())
0 commit comments