@@ -1360,7 +1360,7 @@ if (!isMacintosh || !isNative) {
1360
1360
}
1361
1361
1362
1362
ToggleVisibilityActions . push ( ...[
1363
- 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 } ) ,
1363
+ 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 } ) ,
1364
1364
CreateToggleLayoutItem ( ToggleSidebarVisibilityAction . ID , SideBarVisibleContext , localize ( 'sideBar' , "Primary Side Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : panelLeftIcon , iconB : panelRightIcon } ) ,
1365
1365
CreateToggleLayoutItem ( ToggleAuxiliaryBarAction . ID , AuxiliaryBarVisibleContext , localize ( 'secondarySideBar' , "Secondary Side Bar" ) , { whenA : ContextKeyExpr . equals ( 'config.workbench.sideBar.location' , 'left' ) , iconA : panelRightIcon , iconB : panelLeftIcon } ) ,
1366
1366
CreateToggleLayoutItem ( TogglePanelAction . ID , PanelVisibleContext , localize ( 'panel' , "Panel" ) , panelIcon ) ,
@@ -1548,7 +1548,7 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
1548
1548
} ;
1549
1549
1550
1550
// Reset all layout options
1551
- resetSetting ( 'workbench.activityBar.visible ' ) ;
1551
+ resetSetting ( 'workbench.activityBar.location ' ) ;
1552
1552
resetSetting ( 'workbench.sideBar.location' ) ;
1553
1553
resetSetting ( 'workbench.statusBar.visible' ) ;
1554
1554
resetSetting ( 'workbench.panel.defaultLocation' ) ;
0 commit comments