From cd93deacea35ebc09ea9620ca7aea31328c6e8c6 Mon Sep 17 00:00:00 2001 From: Lionel Henry Date: Wed, 22 May 2024 15:42:23 +0200 Subject: [PATCH] Fixes for restoration of minimised panels (#3193) * Only restore panel when opening the panel * Don't call `restorePanel()` from actions It's called if needed from `openView()` * Restore minimised and focused panel when opening a view --- src/vs/workbench/browser/parts/paneCompositePart.ts | 4 ++-- .../browser/positronConsoleActions.ts | 4 ---- .../browser/positronConsoleService.ts | 7 ++----- .../workbench/services/views/browser/viewsService.ts | 12 ++++++++++++ 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/vs/workbench/browser/parts/paneCompositePart.ts b/src/vs/workbench/browser/parts/paneCompositePart.ts index 5776e9ca12a..9a671a65521 100644 --- a/src/vs/workbench/browser/parts/paneCompositePart.ts +++ b/src/vs/workbench/browser/parts/paneCompositePart.ts @@ -481,8 +481,8 @@ export abstract class AbstractPaneCompositePart extends CompositePart