fix textbox:lineY

This commit is contained in:
MihailRis 2025-11-15 20:32:08 +03:00
parent 062188ede7
commit 6195d014cd

View File

@ -683,7 +683,7 @@ int TextBox::calcIndexAt(int x, int y) const {
int TextBox::getLineYOffset(int line) const {
if (rawTextCache.fontId == 0) return 0;
return label->getLineYOffset(line) + getContentOffset().y;
return label->getLineYOffset(line);
}
static inline std::wstring get_alphabet(wchar_t c) {