@next2d/builder 0.4.0 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/builder",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Multi-platform builder for Next2d Framework, supporting export to various platforms such as macOS, Windows, iOS, Android and Web(HTML)",
5
5
  "author": "Toshiyuki Ienaga <ienaga@next2d.app>",
6
6
  "license": "MIT",
@@ -59,7 +59,9 @@ const createWindow = async () => {
59
59
  show: false,
60
60
  ...(overlay ? {
61
61
  ...overlayBounds(), transparent: true, frame: false, resizable: false, hasShadow: false,
62
- fullscreenable: false, skipTaskbar: false, backgroundColor: "#00000000"
62
+ fullscreenable: false, skipTaskbar: false, backgroundColor: "#00000000",
63
+ // The overlay must never take keyboard focus or activation from the apps under it (Word etc.).
64
+ focusable: false
63
65
  } : {}),
64
66
  webPreferences: {
65
67
  nodeIntegration: false, contextIsolation: true, sandbox: true,
@@ -104,7 +106,7 @@ const createWindow = async () => {
104
106
  closeNativeBridge();
105
107
  app.exit(1);
106
108
  });
107
- mainWindow.once("ready-to-show", () => mainWindow.show());
109
+ mainWindow.once("ready-to-show", () => (overlay ? mainWindow.showInactive() : mainWindow.show()));
108
110
  await mainWindow.loadURL(startURL);
109
111
  };
110
112