Skip to content

Commit

Permalink
Restore close and position after closing from minimized iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed May 2, 2021
1 parent 4ef46e5 commit ed7e2df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/feature/minimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ export default class MinimalUIMinimize {
$(matchedStash).css('visibility', 'hidden');
MinimalUIMinimize.setRestoredPosition(app);
MinimalUIMinimize.unEnrichStyling(app);
} else if (force) {
Object.values(MinimalUIMinimize.minimizedStash).forEach(stashed => {
MinimalUIMinimize.setRestoredPosition(stashed.app);
MinimalUIMinimize.unEnrichStyling(stashed.app);
});
}
if (force || (minimizedApps.length === 0) || (minimizedApps.length === 1 && matchedStash)) {
$("#minimized-bar").hide();
Expand Down

0 comments on commit ed7e2df

Please sign in to comment.