File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ export class ViewsService extends Disposable implements IViewsService {
269
269
const location = this . viewDescriptorService . getViewContainerLocation ( viewContainer ) ;
270
270
if ( location === ViewContainerLocation . Sidebar ) {
271
271
this . layoutService . setPartHidden ( true , Parts . SIDEBAR_PART ) ;
272
- } else if ( location === ViewContainerLocation . Panel ) {
272
+ } else if ( location === ViewContainerLocation . Panel || location === ViewContainerLocation . AuxiliaryBar ) {
273
273
this . paneCompositeService . hideActivePaneComposite ( location ) ;
274
274
}
275
275
Original file line number Diff line number Diff line change @@ -77,13 +77,10 @@ export class TerminalGroupService extends Disposable implements ITerminalGroupSe
77
77
78
78
hidePanel ( ) : void {
79
79
// Hide the panel if the terminal is in the panel and it has no sibling views
80
- const location = this . _viewDescriptorService . getViewLocationById ( TERMINAL_VIEW_ID ) ;
81
- if ( location === ViewContainerLocation . Panel ) {
82
- const panel = this . _viewDescriptorService . getViewContainerByViewId ( TERMINAL_VIEW_ID ) ;
83
- if ( panel && this . _viewDescriptorService . getViewContainerModel ( panel ) . activeViewDescriptors . length === 1 ) {
84
- this . _viewsService . closeView ( TERMINAL_VIEW_ID ) ;
85
- TerminalContextKeys . tabsMouse . bindTo ( this . _contextKeyService ) . set ( false ) ;
86
- }
80
+ const panel = this . _viewDescriptorService . getViewContainerByViewId ( TERMINAL_VIEW_ID ) ;
81
+ if ( panel && this . _viewDescriptorService . getViewContainerModel ( panel ) . activeViewDescriptors . length === 1 ) {
82
+ this . _viewsService . closeView ( TERMINAL_VIEW_ID ) ;
83
+ TerminalContextKeys . tabsMouse . bindTo ( this . _contextKeyService ) . set ( false ) ;
87
84
}
88
85
}
89
86
You can’t perform that action at this time.
0 commit comments