From 66eb28b945531cfbe7e64b09ef1823ffa8badba5 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Tue, 26 Jan 2016 16:03:28 -0300 Subject: [PATCH] Fix wrong position of LineEdit in Scene editor --- scene/gui/tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index e81c08dbeac..2dffa332ee9 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -2316,7 +2316,7 @@ bool Tree::edit_selected() { return false; Rect2 rect; - rect.pos.y = get_item_offset(s) - v_scroll->get_val(); + rect.pos.y = get_item_offset(s) - get_scroll().y; for(int i=0;i