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.
1 parent 4d38422 commit 22e6255Copy full SHA for 22e6255
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