mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Changed TextComponent to convert newlines to spaces instad of nulls when using horizontally scrolling containers
This commit is contained in:
parent
b82f9d3546
commit
3591c0f1ba
|
@ -321,7 +321,7 @@ void TextComponent::setValue(const std::string& value)
|
|||
setText(mDefaultValue);
|
||||
}
|
||||
else if (mLoopHorizontal) {
|
||||
setText(Utils::String::replace(value, "\n", ""));
|
||||
setText(Utils::String::replace(value, "\n", " "));
|
||||
}
|
||||
else {
|
||||
setText(value);
|
||||
|
|
Loading…
Reference in a new issue