Skip to content

Commit 6445d93

Browse files
authored
Merge pull request #189459 from microsoft/hediet/b/worried-ape
Fixes #189444 in release
2 parents 6b8fff3 + 20150e1 commit 6445d93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/editor/browser/widget/diffEditor.contribution.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
5050
},
5151
order: 10,
5252
group: '2_diff',
53-
when: EditorContextKeys.accessibleDiffViewerVisible.negate(),
53+
when: ContextKeyExpr.and(
54+
EditorContextKeys.accessibleDiffViewerVisible.negate(),
55+
ContextKeyExpr.has('isInDiffEditor'),
56+
),
5457
});
5558

5659
export class AccessibleDiffViewerPrev extends Action2 {

0 commit comments

Comments
 (0)