提交 e24b922c 编写于 作者: M meganrogge

revert scroll to bottom line

上级 31d981f5
......@@ -1345,11 +1345,7 @@ class SCMInputWidget extends Disposable {
return;
}
textModel.setValue(value);
let model = this.inputEditor.getModel();
if (model) {
// scroll to bottom line
this.inputEditor.revealLine(model.getLineCount());
}
if (reason === SCMInputChangeReason.HistoryPrevious) {
this.inputEditor.setPosition(textModel.getFullModelRange().getStartPosition());
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册