mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
mac: Fix blank page after devtools is opened.
This commit is contained in:
@@ -27,6 +27,9 @@ using namespace brightray;
|
||||
[contentsView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
||||
[self addSubview:contentsView];
|
||||
|
||||
// See https://code.google.com/p/chromium/issues/detail?id=348490.
|
||||
[self setWantsLayer:YES];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user