mirror of https://github.com/godotengine/godot
Fix TextEdit BiDi override.
This commit is contained in:
parent
b607110ad2
commit
9d7a1b5ab0
|
|
@ -223,7 +223,7 @@ void TextEdit::Text::invalidate_cache(int p_line, bool p_text_changed) {
|
|||
if (p_text_changed) {
|
||||
text_line.data_buf->add_string(text_with_ime, font, font_size, language);
|
||||
}
|
||||
if (bidi_override_with_ime.is_empty()) {
|
||||
if (!bidi_override_with_ime.is_empty()) {
|
||||
TS->shaped_text_set_bidi_override(text_line.data_buf->get_rid(), bidi_override_with_ime);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue