Fix build error

This commit is contained in:
Poommetee Ketson 2017-06-05 21:15:01 +07:00
parent f8d7670e82
commit 5fd458e03a
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -233,7 +233,6 @@ void VisualServerCanvas::render_canvas(Canvas *p_canvas, const Transform2D &p_tr
}
VSG::canvas_render->canvas_end();
}
RID VisualServerCanvas::canvas_create() {