mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-04 08:12:21 -08:00
Detach popup windows from main window (#211)
This commit is contained in:
parent
0b6c646d37
commit
f652c92d02
1 changed files with 0 additions and 2 deletions
|
|
@ -292,7 +292,6 @@ const addView = (browserWindow, workspace) => {
|
|||
e.preventDefault();
|
||||
const newOptions = {
|
||||
...options,
|
||||
parent: browserWindow,
|
||||
};
|
||||
const popupWin = new BrowserWindow(newOptions);
|
||||
popupWin.webContents.on('new-window', handleNewWindow);
|
||||
|
|
@ -351,7 +350,6 @@ const addView = (browserWindow, workspace) => {
|
|||
const newOptions = {
|
||||
...options,
|
||||
show: false,
|
||||
parent: browserWindow,
|
||||
};
|
||||
const popupWin = new BrowserWindow(newOptions);
|
||||
popupWin.webContents.on('new-window', handleNewWindow);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue