File tree Expand file tree Collapse file tree
src/vs/workbench/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -408,10 +408,10 @@ configurationRegistry.registerConfiguration({
408408 'default' : true ,
409409 'description' : nls . localize ( 'zenMode.fullScreen' , "Controls if turning on Zen Mode also puts the workbench into full screen mode." )
410410 } ,
411- 'zenMode.centeredLayout ' : {
411+ 'zenMode.centerLayout ' : {
412412 'type' : 'boolean' ,
413413 'default' : true ,
414- 'description' : nls . localize ( 'zenMode.centeredLayout ' , "Controls if turning on Zen Mode also centers the layout." )
414+ 'description' : nls . localize ( 'zenMode.centerLayout ' , "Controls if turning on Zen Mode also centers the layout." )
415415 } ,
416416 'zenMode.hideTabs' : {
417417 'type' : 'boolean' ,
@@ -434,4 +434,4 @@ configurationRegistry.registerConfiguration({
434434 'description' : nls . localize ( 'zenMode.restore' , "Controls if a window should restore to zen mode if it was exited in zen mode." )
435435 }
436436 }
437- } ) ;
437+ } ) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ interface WorkbenchParams {
117117
118118interface IZenModeSettings {
119119 fullScreen : boolean ;
120- centeredLayout : boolean ;
120+ centerLayout : boolean ;
121121 hideTabs : boolean ;
122122 hideActivityBar : boolean ;
123123 hideStatusBar : boolean ;
@@ -1324,7 +1324,7 @@ export class Workbench implements IPartService {
13241324 const config = this . configurationService . getValue < IZenModeSettings > ( 'zenMode' ) ;
13251325 toggleFullScreen = ! browser . isFullscreen ( ) && config . fullScreen ;
13261326 this . zenMode . transitionedToFullScreen = toggleFullScreen ;
1327- toggleCenteredEditorLayout = ! this . isEditorLayoutCentered ( ) && config . centeredLayout ;
1327+ toggleCenteredEditorLayout = ! this . isEditorLayoutCentered ( ) && config . centerLayout ;
13281328 this . zenMode . transitionedToCenteredEditorLayout = toggleCenteredEditorLayout ;
13291329 this . zenMode . wasSideBarVisible = this . isVisible ( Parts . SIDEBAR_PART ) ;
13301330 this . zenMode . wasPanelVisible = this . isVisible ( Parts . PANEL_PART ) ;
You can’t perform that action at this time.
0 commit comments