Commit 1fbcaed5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

macOS: disable warnings for FSPanelController

Some drawing directives are too new, this code needs review and fixes
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 60afd8a1
...@@ -389,6 +389,8 @@ ...@@ -389,6 +389,8 @@
\param bounds The rect for the image size \param bounds The rect for the image size
*/ */
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpartial-availability"
- (NSImage *)maskImageWithBounds:(NSRect)bounds - (NSImage *)maskImageWithBounds:(NSRect)bounds
{ {
static const float radius = 8.0; static const float radius = 8.0;
...@@ -426,6 +428,7 @@ ...@@ -426,6 +428,7 @@
[_controlsView setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]]; [_controlsView setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]];
[self.window.contentView addSubview:_controlsView]; [self.window.contentView addSubview:_controlsView];
} }
#pragma clang diagnostic pop
#endif #endif
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment