File tree Expand file tree Collapse file tree
src/vs/workbench/browser/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,9 +202,9 @@ class NavigateDownAction extends BaseNavigationAction {
202202}
203203
204204function findVisibleNeighbour ( layoutService : IWorkbenchLayoutService , part : Parts , next : boolean ) : Parts {
205- const neighbour = part === Parts . EDITOR_PART ? ( next ? Parts . STATUSBAR_PART : Parts . PANEL_PART ) : part === Parts . STATUSBAR_PART ? ( next ? Parts . ACTIVITYBAR_PART : Parts . EDITOR_PART ) :
206- part === Parts . ACTIVITYBAR_PART ? ( next ? Parts . SIDEBAR_PART : Parts . STATUSBAR_PART ) : part === Parts . SIDEBAR_PART ? ( next ? Parts . PANEL_PART : Parts . ACTIVITYBAR_PART ) :
207- part === Parts . PANEL_PART ? ( next ? Parts . EDITOR_PART : Parts . SIDEBAR_PART ) : Parts . EDITOR_PART ;
205+ const neighbour = part === Parts . EDITOR_PART ? ( next ? Parts . PANEL_PART : Parts . SIDEBAR_PART ) : part === Parts . PANEL_PART ? ( next ? Parts . STATUSBAR_PART : Parts . EDITOR_PART ) :
206+ part === Parts . STATUSBAR_PART ? ( next ? Parts . ACTIVITYBAR_PART : Parts . PANEL_PART ) : part === Parts . ACTIVITYBAR_PART ? ( next ? Parts . SIDEBAR_PART : Parts . STATUSBAR_PART ) :
207+ part === Parts . SIDEBAR_PART ? ( next ? Parts . EDITOR_PART : Parts . ACTIVITYBAR_PART ) : Parts . EDITOR_PART ;
208208 if ( layoutService . isVisible ( neighbour ) || neighbour === Parts . EDITOR_PART ) {
209209 return neighbour ;
210210 }
You can’t perform that action at this time.
0 commit comments