Fix undefined reference error

This commit is contained in:
Alex Spataru 2025-01-02 01:06:03 -05:00
parent 9f53bb6212
commit 861c19e706

View File

@ -472,7 +472,7 @@ ColumnLayout {
const adjustment = spacesBeforeCursorFormatted - spacesBeforeCursorOriginal + lengthDifference;
// Restore the cursor position with adjustment
_hexComponent.cursorPosition = Math.min(currentCursorPosition + adjustment, send.text.length);
_hexComponent.cursorPosition = Math.min(currentCursorPosition + adjustment, _hexComponent.text.length);
}
}