修复输入框向下滑动的bug
This commit is contained in:
parent
c81517b96b
commit
7ea8630f2c
@ -140,7 +140,7 @@ public class LineNumberTextArea extends BorderPane {
|
|||||||
|
|
||||||
// 恢复之前的滚动位置
|
// 恢复之前的滚动位置
|
||||||
mainTextArea.setScrollTop(mainTextAreaScrollTop);
|
mainTextArea.setScrollTop(mainTextAreaScrollTop);
|
||||||
lineNumberArea.setScrollTop(lineNumberAreaScrollTop - 8);
|
lineNumberArea.setScrollTop(lineNumberAreaScrollTop);
|
||||||
}
|
}
|
||||||
|
|
||||||
public TextArea getMainTextArea() {
|
public TextArea getMainTextArea() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user