Move to original location on miniplayer close.
This commit is contained in:
parent
37e8981a35
commit
898c0b08fa
2 changed files with 10 additions and 0 deletions
|
@ -1043,6 +1043,11 @@ export class BrowserWindow {
|
|||
BrowserWindow.win.setResizable(!lock);
|
||||
});
|
||||
|
||||
// Move window
|
||||
ipcMain.on("windowmove", (_event, x, y) => {
|
||||
BrowserWindow.win.setBounds({x, y});
|
||||
});
|
||||
|
||||
//Fullscreen
|
||||
ipcMain.on('setFullScreen', (_event, flag) => {
|
||||
BrowserWindow.win.setFullScreen(flag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue