Browse Source
Merge pull request #8440 from AvaloniaUI/fixes/osx-popups-dont-have-shadow
[OSX] popups shouldnt have shadow
pull/8442/head
Steven Kirk
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/WindowBaseImpl.mm
-
native/Avalonia.Native/src/OSX/WindowImpl.mm
|
|
|
@ -48,7 +48,6 @@ WindowBaseImpl::WindowBaseImpl(IAvnWindowBaseEvents *events, IAvnGlContext *gl, |
|
|
|
[Window setContentMaxSize:lastMaxSize]; |
|
|
|
|
|
|
|
[Window setOpaque:false]; |
|
|
|
[Window setHasShadow:true]; |
|
|
|
} |
|
|
|
|
|
|
|
HRESULT WindowBaseImpl::ObtainNSViewHandle(void **ret) { |
|
|
|
|
|
|
|
@ -24,6 +24,8 @@ WindowImpl::WindowImpl(IAvnWindowEvents *events, IAvnGlContext *gl) : WindowBase |
|
|
|
_lastTitle = @""; |
|
|
|
_parent = nullptr; |
|
|
|
WindowEvents = events; |
|
|
|
|
|
|
|
[Window setHasShadow:true]; |
|
|
|
|
|
|
|
OnInitialiseNSWindow(); |
|
|
|
} |
|
|
|
|