mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 21:58:29 -05:00
fix #125334.
This commit is contained in:
@@ -1872,7 +1872,10 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
|
||||
{
|
||||
id: MenuId.EditorTitle,
|
||||
group: 'notebookLayout',
|
||||
when: ContextKeyExpr.notEquals('config.notebook.globalToolbar', true),
|
||||
when: ContextKeyExpr.and(
|
||||
NOTEBOOK_IS_ACTIVE_EDITOR,
|
||||
ContextKeyExpr.notEquals('config.notebook.globalToolbar', true)
|
||||
),
|
||||
order: 0
|
||||
},
|
||||
{
|
||||
@@ -1900,7 +1903,10 @@ registerAction2(class NotebookConfigureLayoutAction extends Action2 {
|
||||
{
|
||||
id: MenuId.EditorTitle,
|
||||
group: 'notebookLayout',
|
||||
when: ContextKeyExpr.notEquals('config.notebook.globalToolbar', true),
|
||||
when: ContextKeyExpr.and(
|
||||
NOTEBOOK_IS_ACTIVE_EDITOR,
|
||||
ContextKeyExpr.notEquals('config.notebook.globalToolbar', true)
|
||||
),
|
||||
order: 1
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user