fix: emit swipe event on macOS (#19319)
This commit is contained in:
parent
42d4c579c3
commit
1f2f1fb82d
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@ BrowserWindow::BrowserWindow(v8::Isolate* isolate,
|
||||||
InitWith(isolate, wrapper);
|
InitWith(isolate, wrapper);
|
||||||
|
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
if (!window()->has_frame())
|
OverrideNSWindowContentView(web_contents->managed_web_contents());
|
||||||
OverrideNSWindowContentView(web_contents->managed_web_contents());
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Init window after everything has been setup.
|
// Init window after everything has been setup.
|
||||||
|
|
Loading…
Reference in a new issue