Emit 'launcher-minimize' event on 'hide' too

This commit is contained in:
Enrico Monese 2017-03-28 19:19:35 +02:00
parent f0f0738576
commit c3156b8a5f
1 changed files with 3 additions and 0 deletions

View File

@ -138,6 +138,9 @@ function createMainWindow() {
mainWindow.on('minimize', () => {
emitBackboneEvent('launcher-minimize');
});
mainWindow.on('hide', () => {
emitBackboneEvent('launcher-minimize');
});
restoreMainWindowPosition();
}