зеркало из https://github.com/electron/electron.git
mac: Window's native view should be its content view
This commit is contained in:
Родитель
1681ee35db
Коммит
4c7b48e596
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче