Fixed an issue in TextEditComponent when clearing really long strings.

This commit is contained in:
Leon Styhre 2021-12-27 19:52:45 +01:00
parent c63e5e4529
commit 796951bf44

View file

@ -61,6 +61,7 @@ void TextEditComponent::setValue(const std::string& val)
mText = val;
mTextOrig = val;
onTextChanged();
onCursorChanged();
}
void TextEditComponent::textInput(const std::string& text)