瀏覽代碼

Move the call hint under the current line

Martin Chuckeles 9 年之前
父節點
當前提交
03025f60b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;