!42 修复输入框向下滑动的bug

Merge pull request !42 from Luke/master
This commit is contained in:
Luke 2023-08-27 16:16:21 +00:00 committed by Gitee
commit 24bb39ee63
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -140,7 +140,7 @@ public class LineNumberTextArea extends BorderPane {
// 恢复之前的滚动位置
mainTextArea.setScrollTop(mainTextAreaScrollTop);
lineNumberArea.setScrollTop(lineNumberAreaScrollTop - 8);
lineNumberArea.setScrollTop(lineNumberAreaScrollTop);
}
public TextArea getMainTextArea() {