@lvce-editor/main-process 6.44.0 → 6.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7288,6 +7288,10 @@ const attachEventListenersToWebContents = (webContentsId, webContents, browserWi
7288
7288
  const createWindow = (options, url, disposition) => {
7289
7289
  const view = createWebContentsViewForWindow(browserWindow, options);
7290
7290
  send('ElectronWebContents.handleWindowOpen', webContentsId, view.webContents.id, url, disposition);
7291
+ // Link-created tabs have no supplied contents or pending navigation, unlike scripted popups.
7292
+ if (!options.webContents) {
7293
+ void view.webContents.loadURL(url).catch(console.error);
7294
+ }
7291
7295
  return view.webContents;
7292
7296
  };
7293
7297
  // @ts-ignore Electron event handlers have different argument tuples
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "6.44.0",
3
+ "version": "6.44.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"