Browse Source
Merge branch 'master' into fixes/StreamNode-memory-leak
pull/5987/head
Steven Kirk
5 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/window.mm
|
|
|
@ -263,6 +263,7 @@ public: |
|
|
|
BaseEvents->Resized(AvnSize{x,y}); |
|
|
|
} |
|
|
|
|
|
|
|
[StandardContainer setFrameSize:NSSize{x,y}]; |
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
|
|
|
|
return S_OK; |
|
|
|
@ -2245,6 +2246,7 @@ protected: |
|
|
|
{ |
|
|
|
if (Window != nullptr) |
|
|
|
{ |
|
|
|
[StandardContainer setFrameSize:NSSize{x,y}]; |
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
|
|
|
|
[Window setFrameTopLeftPoint:ToNSPoint(ConvertPointY(lastPositionSet))]; |
|
|
|
|