mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS: Removed an SDK version guard for setting transparent window colours in the native peer code
This commit is contained in:
parent
288f2accc7
commit
65be5bc9c5
1 changed files with 2 additions and 4 deletions
|
|
@ -112,13 +112,11 @@ public:
|
|||
|
||||
[window setOpaque: component.isOpaque()];
|
||||
|
||||
#if defined (MAC_OS_X_VERSION_10_14) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_14)
|
||||
if (! [window isOpaque])
|
||||
[window setBackgroundColor: [NSColor clearColor]];
|
||||
|
||||
#if defined (MAC_OS_X_VERSION_10_9) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9)
|
||||
[view setAppearance: [NSAppearance appearanceNamed: NSAppearanceNameAqua]];
|
||||
#endif
|
||||
#if defined (MAC_OS_X_VERSION_10_9) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9)
|
||||
[view setAppearance: [NSAppearance appearanceNamed: NSAppearanceNameAqua]];
|
||||
#endif
|
||||
|
||||
[window setHasShadow: ((windowStyleFlags & windowHasDropShadow) != 0)];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue