Automatically maximize window on restore RPS-69
This commit is contained in:
@@ -143,6 +143,7 @@ function createWindow() {
|
||||
if (mainWindow.isMinimized()) mainWindow.restore();
|
||||
mainWindow.show();
|
||||
mainWindow.focus();
|
||||
mainWindow.maximize();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -255,6 +256,7 @@ function createTray() {
|
||||
|
||||
appIcon.on("double-click", function (event) {
|
||||
mainWindow.show();
|
||||
mainWindow.maximize();
|
||||
});
|
||||
appIcon.setToolTip("ImEX RPS");
|
||||
appIcon.setContextMenu(contextMenu);
|
||||
|
||||
Reference in New Issue
Block a user