fixed caret pos

This commit is contained in:
Jack 2020-10-26 22:27:59 +00:00
parent a0df1523ae
commit 480a1ffea9

View file

@ -1492,7 +1492,7 @@ function updateCaretPosition() {
let newTop = 0;
let newLeft = 0;
newTop = currentLetterPosTop - Math.round(letterHeight / 20);
newTop = currentLetterPosTop - Math.round(letterHeight / 5);
if (inputLen == 0) {
newLeft = isLanguageLeftToRight
? currentLetterPosLeft - caret.width() / 2