File tree Expand file tree Collapse file tree
src/vs/workbench/browser/parts/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,22 +89,14 @@ export abstract class FilterViewPaneContainer extends ViewPaneContainer {
8989 }
9090
9191 getContextMenuActions ( ) : IAction [ ] {
92- const result : IAction [ ] = [ ] ;
93- let viewToggleActions : IAction [ ] = Array . from ( this . constantViewDescriptors . values ( ) ) . map ( viewDescriptor => ( < IAction > {
92+ const result : IAction [ ] = Array . from ( this . constantViewDescriptors . values ( ) ) . map ( viewDescriptor => ( < IAction > {
9493 id : `${ viewDescriptor . id } .toggleVisibility` ,
9594 label : viewDescriptor . name ,
9695 checked : this . viewsModel . isVisible ( viewDescriptor . id ) ,
9796 enabled : viewDescriptor . canToggleVisibility ,
9897 run : ( ) => this . toggleViewVisibility ( viewDescriptor . id )
9998 } ) ) ;
10099
101- result . push ( ...viewToggleActions ) ;
102- const parentActions = super . getContextMenuActions ( ) ;
103- if ( viewToggleActions . length && parentActions . length ) {
104- result . push ( new Separator ( ) ) ;
105- }
106-
107- result . push ( ...parentActions ) ;
108100 return result ;
109101 }
110102
You can’t perform that action at this time.
0 commit comments