Skip to content

Commit d6e842b

Browse files
committed
microsoft#90068 adopt to reval near top
1 parent 067fbc8 commit d6e842b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/editor/contrib/gotoError/gotoError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class MarkerNavigationAction extends EditorAction {
397397

398398
return editorService.openCodeEditor({
399399
resource: newMarker.resource,
400-
options: { pinned: false, revealIfOpened: true, selectionRevealType: TextEditorSelectionRevealType.CenterIfOutsideViewport, selection: newMarker }
400+
options: { pinned: false, revealIfOpened: true, selectionRevealType: TextEditorSelectionRevealType.NearTop, selection: newMarker }
401401
}, editor).then(editor => {
402402
if (!editor) {
403403
return undefined;

0 commit comments

Comments
 (0)