Browse Source
Merge pull request #3409 from AvaloniaUI/fixes/osx-black-corners
fixes the black window corners on OSX.
pull/3444/head
danwalmsley
6 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
0 deletions
-
native/Avalonia.Native/src/OSX/window.mm
|
|
|
@ -1283,6 +1283,9 @@ NSArray* AllLoopModes = [NSArray arrayWithObjects: NSDefaultRunLoopMode, NSEvent |
|
|
|
_closed = false; |
|
|
|
|
|
|
|
_lastScaling = [self backingScaleFactor]; |
|
|
|
[self setOpaque:NO]; |
|
|
|
[self setBackgroundColor: [NSColor clearColor]]; |
|
|
|
[self invalidateShadow]; |
|
|
|
return self; |
|
|
|
} |
|
|
|
|
|
|
|
|