pull/11/head
Dave Conway-Jones 2019-10-26 21:50:41 +01:00
rodzic 980b770e5e
commit 138456ed63
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 302A6725C594817F
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -336,13 +336,12 @@ function createWindow() {
mainWindow.webContents.on("new-window", function(e, url, frameName, disposition, options) {
// if a child window opens... modify any other options such as width/height, etc
// in this case make the child overlap the parent exactly...
//console.log("NEW WINDOW",url);
var w = mainWindow.getBounds();
options.x = w.x;
options.y = w.y;
options.width = w.width;
options.height = w.height;
//re-use the same child name so all "2nd" windows use the same one.
//frameName = "child";
})
mainWindow.on('closed', () => {