Skip to content

Commit

Permalink
Fixes #189444 in release
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet committed Aug 2, 2023
1 parent 6b8fff3 commit 20150e1
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 20150e1

Please sign in to comment.