summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-26 16:03:28 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-26 16:03:28 -0300
commit66eb28b945531cfbe7e64b09ef1823ffa8badba5 (patch)
treecc48e5255845531c22ba355034f93f0189d0a0e7 /scene
parente5c5f58085b8f35f13234598667e306b107f1f56 (diff)
Fix wrong position of LineEdit in Scene editor
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index e81c08dbea..2dffa332ee 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<col;i++) {