mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-24 10:07:17 +01:00
The PaintCanvasBackgorund needs draw behind parent set.
This commit is contained in:
parent
7abae2b54e
commit
81e9a54129
@ -615,6 +615,7 @@ PaintCanvas::PaintCanvas() {
|
|||||||
canvas_background->set_texture(make_icon(grid_png));
|
canvas_background->set_texture(make_icon(grid_png));
|
||||||
canvas_background->set_expand(true);
|
canvas_background->set_expand(true);
|
||||||
canvas_background->set_stretch_mode(TextureRect::STRETCH_TILE);
|
canvas_background->set_stretch_mode(TextureRect::STRETCH_TILE);
|
||||||
|
canvas_background->set_draw_behind_parent(true);
|
||||||
add_child(canvas_background);
|
add_child(canvas_background);
|
||||||
|
|
||||||
canvas_layers = memnew(Control);
|
canvas_layers = memnew(Control);
|
||||||
|
Loading…
Reference in New Issue
Block a user