We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f9263f + 22e6255 commit c4ef9dfCopy full SHA for c4ef9df
src/vs/editor/browser/widget/diffReview.ts
@@ -874,7 +874,7 @@ class DiffReviewPrev extends EditorAction {
874
function findFocusedDiffEditor(accessor: ServicesAccessor): DiffEditorWidget | null {
875
const codeEditorService = accessor.get(ICodeEditorService);
876
const diffEditors = codeEditorService.listDiffEditors();
877
- const activeCodeEditor = codeEditorService.getActiveCodeEditor();
+ const activeCodeEditor = codeEditorService.getFocusedCodeEditor() ?? codeEditorService.getActiveCodeEditor();
878
if (!activeCodeEditor) {
879
return null;
880
}
0 commit comments