mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
mac: Window's native view should be its content view
This commit is contained in:
@@ -1546,7 +1546,7 @@ void NativeWindowMac::SetParentWindow(NativeWindow* parent) {
|
||||
}
|
||||
|
||||
gfx::NativeView NativeWindowMac::GetNativeView() const {
|
||||
return inspectable_web_contents()->GetView()->GetNativeView();
|
||||
return [window_ contentView];
|
||||
}
|
||||
|
||||
gfx::NativeWindow NativeWindowMac::GetNativeWindow() const {
|
||||
|
||||
Reference in New Issue
Block a user