Skip to content

Commit 572f230

Browse files
author
Jumar Macato
authored
Merge pull request AvaloniaUI#3319 from AvaloniaUI/OSX-setwantslayer
[OSX] setWantsLayer true, allows interop with CEF, etc
2 parents 9802ada + b0c6ab1 commit 572f230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

native/Avalonia.Native/src/OSX/window.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ -(AvnView*) initWithParent: (WindowBaseImpl*) parent
739739
{
740740
self = [super init];
741741
[self setWantsBestResolutionOpenGLSurface:true];
742+
[self setWantsLayer:YES];
742743
_parent = parent;
743744
_area = nullptr;
744745
return self;

0 commit comments

Comments
 (0)