提交 4668a390 编写于 作者: S Sandeep Somavarapu

Fix #31588

上级 8ab7abed
......@@ -932,7 +932,7 @@ class SettingHighlighter extends Disposable {
resource: this.editor.getModel().uri
}, this.editor);
this.editor.revealLinesInCenterIfOutsideViewport(setting.valueRange.startLineNumber, setting.valueRange.endLineNumber - 1, editorCommon.ScrollType.Smooth);
this.editor.revealLineInCenterIfOutsideViewport(setting.valueRange.startLineNumber, editorCommon.ScrollType.Smooth);
this.focusEventEmitter.fire(setting);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册