mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
MacOS: Fixed an issue with transparent windows on Mojave
This commit is contained in:
parent
a44d3d7bb2
commit
372d6df64e
1 changed files with 7 additions and 0 deletions
|
|
@ -116,7 +116,14 @@ public:
|
|||
#else
|
||||
[window setDelegate: window];
|
||||
#endif
|
||||
|
||||
[window setOpaque: component.isOpaque()];
|
||||
|
||||
#if defined (MAC_OS_X_VERSION_10_14)
|
||||
if (! [window isOpaque])
|
||||
[window setBackgroundColor: [NSColor clearColor]];
|
||||
#endif
|
||||
|
||||
[window setHasShadow: ((windowStyleFlags & windowHasDropShadow) != 0)];
|
||||
|
||||
if (component.isAlwaysOnTop())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue