fix: emit swipe event on macOS (#19319)

This commit is contained in:
Shelley Vohr 2019-07-19 16:21:07 -07:00 committed by GitHub
parent 42d4c579c3
commit 1f2f1fb82d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.