diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-06-05 21:15:01 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-06-05 21:19:54 +0700 |
commit | 5fd458e03a32baf0b47c8bd15252d92c634a0da7 (patch) | |
tree | 49d2a62a30d48d22c1f52cbcfa75c33da4cb3b61 /scene/gui | |
parent | f8d7670e82007103573b88f48fe7b7c4addbd66d (diff) |
Fix build error
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 7d0b8757c8..d864d9fce7 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -1247,7 +1247,7 @@ int Tree::draw_item(const Point2i &p_pos, const Point2 &p_draw_ofs, const Size2 draw_style_box(cache.custom_button, ir); } ir.size -= cache.custom_button->get_minimum_size(); - ir.pos += cache.custom_button->get_offset(); + ir.position += cache.custom_button->get_offset(); } draw_item_rect(p_item->cells[i], ir, col); |