From cb7693c53309feaf7a816399c6fde5eb1e24ada3 Mon Sep 17 00:00:00 2001 From: Martin Chuckeles Date: Thu, 3 Mar 2016 20:26:50 +0100 Subject: [PATCH] Move the call hint under the current line (cherry picked from commit 03025f60b6db551335f3101c1d024dd86b492beb) --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index bf012b7a030..257b36ca962 100644 --- a/scene/gui/text_edit.cpp +++ b/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;