Skip to content

Commit

Permalink
Outline: reveal at definition instead of center
Browse files Browse the repository at this point in the history
  • Loading branch information
wkornewald committed Sep 16, 2019
1 parent 6eeebdd commit 00ef6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/outline/browser/outlinePanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export class OutlinePanel extends ViewletPanel {
options: {
preserveFocus: !focus,
selection: Range.collapseToStart(element.symbol.selectionRange),
revealInCenterIfOutsideViewport: true
revealAtDefinition: true,
}
} as IResourceInput, aside ? SIDE_GROUP : ACTIVE_GROUP);
}
Expand Down

0 comments on commit 00ef6f1

Please sign in to comment.