Browse Source
Merge branch 'master' into fix-dev-tools-events
pull/6702/head
Yoh Deadfall
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -52,7 +52,6 @@ public: |
|
|
|
[Window setBackingType:NSBackingStoreBuffered]; |
|
|
|
|
|
|
|
[Window setOpaque:false]; |
|
|
|
[Window setContentView: StandardContainer]; |
|
|
|
} |
|
|
|
|
|
|
|
virtual HRESULT ObtainNSWindowHandle(void** ret) override |
|
|
|
@ -125,6 +124,8 @@ public: |
|
|
|
SetPosition(lastPositionSet); |
|
|
|
UpdateStyle(); |
|
|
|
|
|
|
|
[Window setContentView: StandardContainer]; |
|
|
|
|
|
|
|
[Window setTitle:_lastTitle]; |
|
|
|
|
|
|
|
if(ShouldTakeFocusOnShow() && activate) |
|
|
|
@ -323,6 +324,7 @@ public: |
|
|
|
BaseEvents->Resized(AvnSize{x,y}, reason); |
|
|
|
} |
|
|
|
|
|
|
|
[StandardContainer setFrameSize:NSSize{x,y}]; |
|
|
|
[Window setContentSize:NSSize{x, y}]; |
|
|
|
} |
|
|
|
@finally |
|
|
|
|