|
@@ -303,21 +303,21 @@ const mainCommands: JupyterFrontEndPlugin<void> = {
|
|
|
isVisible: () => !labShell.isEmpty('left')
|
|
|
});
|
|
|
|
|
|
- commands.addCommand(CommandIDs.toggleRightArea, {
|
|
|
- label: () => trans.__('Show Right Sidebar'),
|
|
|
- execute: () => {
|
|
|
- if (labShell.rightCollapsed) {
|
|
|
- labShell.expandRight();
|
|
|
- } else {
|
|
|
- labShell.collapseRight();
|
|
|
- if (labShell.currentWidget) {
|
|
|
- labShell.activateById(labShell.currentWidget.id);
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- isToggled: () => !labShell.rightCollapsed,
|
|
|
- isVisible: () => !labShell.isEmpty('right')
|
|
|
- });
|
|
|
+ // commands.addCommand(CommandIDs.toggleRightArea, {
|
|
|
+ // label: () => trans.__('Show Right Sidebar'),
|
|
|
+ // execute: () => {
|
|
|
+ // if (labShell.rightCollapsed) {
|
|
|
+ // labShell.expandRight();
|
|
|
+ // } else {
|
|
|
+ // labShell.collapseRight();
|
|
|
+ // if (labShell.currentWidget) {
|
|
|
+ // labShell.activateById(labShell.currentWidget.id);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // isToggled: () => !labShell.rightCollapsed,
|
|
|
+ // isVisible: () => !labShell.isEmpty('right')
|
|
|
+ // });
|
|
|
|
|
|
commands.addCommand(CommandIDs.togglePresentationMode, {
|
|
|
label: () => trans.__('Presentation Mode'),
|