Forráskód Böngészése

Merge pull request #45878 from fmazan/3.2-autocompletion-box-fix

[3.2] Fixed completion box not showing properly
Rémi Verschelde 4 éve
szülő
commit
3fed3ea7a5
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      scene/gui/text_edit.cpp

+ 1 - 0
scene/gui/text_edit.cpp

@@ -1396,6 +1396,7 @@ void TextEdit::_notification(int p_what) {
 
 
 						if (cursor.column == last_wrap_column + j && cursor.line == line && cursor_wrap_index == line_wrap_index) {
 						if (cursor.column == last_wrap_column + j && cursor.line == line && cursor_wrap_index == line_wrap_index) {
 
 
+							is_cursor_visible = true;
 							cursor_pos = Point2i(char_ofs + char_margin + ofs_x, ofs_y);
 							cursor_pos = Point2i(char_ofs + char_margin + ofs_x, ofs_y);
 							cursor_pos.y += (get_row_height() - cache.font->get_height()) / 2;
 							cursor_pos.y += (get_row_height() - cache.font->get_height()) / 2;