mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Fix undefined reference error
This commit is contained in:
parent
9f53bb6212
commit
861c19e706
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user