Skip to content

Commit

Permalink
Merge pull request #189459 from microsoft/hediet/b/worried-ape
Browse files Browse the repository at this point in the history
Fixes #189444 in release
  • Loading branch information
hediet authored Aug 2, 2023
2 parents 6b8fff3 + 20150e1 commit 6445d93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vs/editor/browser/widget/diffEditor.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
},
order: 10,
group: '2_diff',
when: EditorContextKeys.accessibleDiffViewerVisible.negate(),
when: ContextKeyExpr.and(
EditorContextKeys.accessibleDiffViewerVisible.negate(),
ContextKeyExpr.has('isInDiffEditor'),
),
});

export class AccessibleDiffViewerPrev extends Action2 {
Expand Down

0 comments on commit 6445d93

Please sign in to comment.