Browse Source
Merge pull request #8483 from AvaloniaUI/fixes/osx-initial-window-size-when-extend-client-area
Fix initial window size on osx
remove-acrylic-blur-from-old-win
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
5 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/AvnView.mm
|
|
|
@ -127,7 +127,11 @@ |
|
|
|
[self updateRenderTarget]; |
|
|
|
|
|
|
|
auto reason = [self inLiveResize] ? ResizeUser : _resizeReason; |
|
|
|
_parent->BaseEvents->Resized(AvnSize{newSize.width, newSize.height}, reason); |
|
|
|
|
|
|
|
if(_parent->IsShown()) |
|
|
|
{ |
|
|
|
_parent->BaseEvents->Resized(AvnSize{newSize.width, newSize.height}, reason); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|