Browse Source
Merge pull request #8264 from AvaloniaUI/fixes/osx-invalidate-shadow-onshow
osx: ensure shadow is invalidated on show.
pull/8265/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
native/Avalonia.Native/src/OSX/WindowBaseImpl.mm
|
|
|
@ -99,6 +99,8 @@ HRESULT WindowBaseImpl::Show(bool activate, bool isDialog) { |
|
|
|
} |
|
|
|
|
|
|
|
UpdateStyle(); |
|
|
|
|
|
|
|
[Window invalidateShadow]; |
|
|
|
|
|
|
|
if (ShouldTakeFocusOnShow() && activate) { |
|
|
|
[Window orderFront:Window]; |
|
|
|
|