diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-01-26 21:27:20 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-01-26 21:27:20 +0100 |
commit | 8e70f593460eac2bb9b4acf7affc02f87268f3cb (patch) | |
tree | a31f9efc0ee3c28f190472f060fcc5ca56a1b79e /scene/gui | |
parent | ba4f9d1be3020614357db773f2355440a92ad300 (diff) | |
parent | 66eb28b945531cfbe7e64b09ef1823ffa8badba5 (diff) |
Merge pull request #3462 from TheHX/pr-issue-3353
Fix wrong position of LineEdit in Scene editor
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tree.cpp | 2 |
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++) { |