提交 be897248 编写于 作者: J Johannes Rieken

don't overwrite revealIfOpen-setting, fixes #74072

上级 bdd04b1e
......@@ -176,7 +176,6 @@ export class DefinitionAction extends EditorAction {
resource: reference.uri,
options: {
selection: Range.collapseToStart(range),
revealIfOpened: true,
revealInCenterIfOutsideViewport: true
}
}, editor, sideBySide);
......
......@@ -126,8 +126,7 @@ class SymbolNavigationService implements ISymbolNavigationService {
resource: reference.uri,
options: {
selection: Range.collapseToStart(reference.range),
revealInCenterIfOutsideViewport: true,
revealIfOpened: true
revealInCenterIfOutsideViewport: true
}
}, source).finally(() => {
this._ignoreEditorChange = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册