You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix inline IME input not working in the empty LineEdit with the placeholder.
This commit is contained in:
@@ -1931,7 +1931,7 @@ void LineEdit::_shape() {
|
||||
TS->shaped_text_clear(text_rid);
|
||||
|
||||
String t;
|
||||
if (text.length() == 0) {
|
||||
if (text.length() == 0 && ime_text.length() == 0) {
|
||||
t = placeholder_translated;
|
||||
} else if (pass) {
|
||||
t = secret_character.repeat(text.length() + ime_text.length());
|
||||
|
||||
Reference in New Issue
Block a user