File tree Expand file tree Collapse file tree
src/vs/workbench/browser/parts/panel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ export class ToggleMaximizedPanelAction extends Action {
118118
119119 public static ID = 'workbench.action.toggleMaximizedPanel' ;
120120 public static LABEL = nls . localize ( 'toggleMaximizedPanel' , "Toggle Maximized Panel" ) ;
121- private static MAXIMIZE_LABEL = nls . localize ( 'maximizePanel' , "Maximize Panel" ) ;
122- private static MINIMIZE_LABEL = nls . localize ( 'minimizePanel' , "Minimize Panel" ) ;
121+ private static MAXIMIZE_LABEL = nls . localize ( 'maximizePanel' , "Maximize Panel Size " ) ;
122+ private static RESTORE_LABEL = nls . localize ( 'minimizePanel' , "Restore Panel Size " ) ;
123123 private toDispose : IDisposable [ ] ;
124124
125125 constructor (
@@ -132,7 +132,7 @@ export class ToggleMaximizedPanelAction extends Action {
132132 this . toDispose . push ( partService . onEditorLayout ( ( ) => {
133133 const maximized = this . partService . isPanelMaximized ( ) ;
134134 this . class = maximized ? 'minimize-panel-action' : 'maximize-panel-action' ;
135- this . label = maximized ? ToggleMaximizedPanelAction . MINIMIZE_LABEL : ToggleMaximizedPanelAction . MAXIMIZE_LABEL ;
135+ this . label = maximized ? ToggleMaximizedPanelAction . RESTORE_LABEL : ToggleMaximizedPanelAction . MAXIMIZE_LABEL ;
136136 } ) ) ;
137137 }
138138
You can’t perform that action at this time.
0 commit comments