From 561b04a431fe17741d23ed17a014559b4cd1f929 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Wed, 14 Dec 2022 22:58:28 +0000 Subject: [PATCH] set appearance on osx window. --- native/Avalonia.Native/src/OSX/WindowBaseImpl.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/native/Avalonia.Native/src/OSX/WindowBaseImpl.mm b/native/Avalonia.Native/src/OSX/WindowBaseImpl.mm index dcec8bafc9e..72a3f4dcb05 100644 --- a/native/Avalonia.Native/src/OSX/WindowBaseImpl.mm +++ b/native/Avalonia.Native/src/OSX/WindowBaseImpl.mm @@ -47,6 +47,7 @@ [Window setContentMaxSize:lastMaxSize]; [Window setOpaque:false]; + [Window setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameAqua]]; } HRESULT WindowBaseImpl::ObtainNSViewHandle(void **ret) {