Browse Source

Move the call hint under the current line

Martin Chuckeles 9 năm trước cách đây
mục cha
commit
03025f60b6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;