修复输入框向下滑动的bug

This commit is contained in:
许轲 2023-08-28 00:08:48 +08:00
parent c81517b96b
commit 7ea8630f2c

View File

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