@@ -1367,7 +1367,7 @@ if (!isMacintosh || !isNative) {
1367
1367
}
1368
1368
1369
1369
ToggleVisibilityActions . push ( ...[
1370
- CreateToggleLayoutItem ( ToggleActivityBarVisibilityActionId , ContextKeyExpr . equals ( 'config.workbench.activityBar.visible ' , true ) , localize ( 'activityBar' , "Activity Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : activityBarLeftIcon , iconB : activityBarRightIcon } ) ,
1370
+ CreateToggleLayoutItem ( ToggleActivityBarVisibilityActionId , ContextKeyExpr . notEquals ( 'config.workbench.activityBar.location ' , 'hidden' ) , localize ( 'activityBar' , "Activity Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : activityBarLeftIcon , iconB : activityBarRightIcon } ) ,
1371
1371
CreateToggleLayoutItem ( ToggleSidebarVisibilityAction . ID , SideBarVisibleContext , localize ( 'sideBar' , "Primary Side Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : panelLeftIcon , iconB : panelRightIcon } ) ,
1372
1372
CreateToggleLayoutItem ( ToggleAuxiliaryBarAction . ID , AuxiliaryBarVisibleContext , localize ( 'secondarySideBar' , "Secondary Side Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : panelRightIcon , iconB : panelLeftIcon } ) ,
1373
1373
CreateToggleLayoutItem ( TogglePanelAction . ID , PanelVisibleContext , localize ( 'panel' , "Panel" ) , panelIcon ) ,
@@ -1557,7 +1557,7 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
1557
1557
} ;
1558
1558
1559
1559
// Reset all layout options
1560
- resetSetting ( 'workbench.activityBar.visible ' ) ;
1560
+ resetSetting ( 'workbench.activityBar.location ' ) ;
1561
1561
resetSetting ( 'workbench.sideBar.location' ) ;
1562
1562
resetSetting ( 'workbench.statusBar.visible' ) ;
1563
1563
resetSetting ( 'workbench.panel.defaultLocation' ) ;
0 commit comments