diff --git a/index.js b/index.js index 7478a4a..32be28e 100644 --- a/index.js +++ b/index.js @@ -11,11 +11,11 @@ app.on("ready", () => { titleBarStyle: "hidden", fullscreenable: false, fullscreen: false, + alwaysOnTop: true, }) // win.loadURL(`file://${__dirname}/docs/index.html`); - win.loadURL(`http://github.syado.net/LOL-TFT-tool/index.html`); - win.setAlwaysOnTop(true); win.setIgnoreMouseEvents(false); + win.loadURL(`http://github.syado.net/LOL-TFT-tool/index.html`); ipcMain.on('resize', (e, x, y) => { win.setSize(x, y) })