From 5fd458e03a32baf0b47c8bd15252d92c634a0da7 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Mon, 5 Jun 2017 21:15:01 +0700 Subject: Fix build error --- scene/gui/tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') 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); -- cgit v1.2.3