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);
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
if (!window()->has_frame())
|
||||
OverrideNSWindowContentView(web_contents->managed_web_contents());
|
||||
OverrideNSWindowContentView(web_contents->managed_web_contents());
|
||||
#endif
|
||||
|
||||
// Init window after everything has been setup.
|
||||
|
|
Loading…
Reference in a new issue