Minor fix
This commit is contained in:
parent
155e1b659e
commit
165007d1c1
|
@ -199,7 +199,7 @@
|
||||||
const view = new electron.remote.BrowserView({webPreferences: {webviewTag: true, nodeIntegration: true, spellcheck: true}});
|
const view = new electron.remote.BrowserView({webPreferences: {webviewTag: true, nodeIntegration: true, spellcheck: true}});
|
||||||
|
|
||||||
// tab devtools
|
// tab devtools
|
||||||
view.webContents.openDevTools();
|
// view.webContents.openDevTools();
|
||||||
|
|
||||||
view.setAutoResize({width: true, height: true});
|
view.setAutoResize({width: true, height: true});
|
||||||
electron.ipcRenderer.send('tab-added', view.webContents.id);
|
electron.ipcRenderer.send('tab-added', view.webContents.id);
|
||||||
|
|
Loading…
Reference in New Issue