The PaintCanvasBackgorund needs draw behind parent set.

This commit is contained in:
Relintai 2022-04-18 15:45:24 +02:00
parent 7abae2b54e
commit 81e9a54129

View File

@ -615,6 +615,7 @@ PaintCanvas::PaintCanvas() {
canvas_background->set_texture(make_icon(grid_png));
canvas_background->set_expand(true);
canvas_background->set_stretch_mode(TextureRect::STRETCH_TILE);
canvas_background->set_draw_behind_parent(true);
add_child(canvas_background);
canvas_layers = memnew(Control);