Explorar o código

Move the call hint under the current line

Martin Chuckeles %!s(int64=9) %!d(string=hai) anos
pai
achega
03025f60b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scene/gui/text_edit.cpp

+ 1 - 1
scene/gui/text_edit.cpp

@@ -967,7 +967,7 @@ void TextEdit::_notification(int p_what) {
 				}
 				
 				
-				Point2 hint_ofs = Vector2(completion_hint_offset,cursor_pos.y-minsize.y);
+				Point2 hint_ofs = Vector2(completion_hint_offset,cursor_pos.y+minsize.y);
 				draw_style_box(sb,Rect2(hint_ofs,minsize));
 				
 				spacing=0;