diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 7d0b8757c8c..d864d9fce7b 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); diff --git a/servers/visual/visual_server_canvas.cpp b/servers/visual/visual_server_canvas.cpp index b4a133e68ae..14a7af3e6e4 100644 --- a/servers/visual/visual_server_canvas.cpp +++ b/servers/visual/visual_server_canvas.cpp @@ -233,7 +233,6 @@ void VisualServerCanvas::render_canvas(Canvas *p_canvas, const Transform2D &p_tr } VSG::canvas_render->canvas_end(); - } RID VisualServerCanvas::canvas_create() {