Merge pull request #49343 from theoway/node_auto_arrangement_graph_edit

Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
This commit is contained in:
K. S. Ernest (iFire) Lee
2021-08-10 15:42:04 -04:00
committed by GitHub
9 changed files with 542 additions and 1 deletions

View File

@@ -955,6 +955,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_icon("more", "GraphEdit", make_icon(icon_zoom_more_png));
theme->set_icon("snap", "GraphEdit", make_icon(icon_snap_grid_png));
theme->set_icon("minimap", "GraphEdit", make_icon(icon_grid_minimap_png));
theme->set_icon("layout", "GraphEdit", make_icon(icon_grid_layout_png));
theme->set_stylebox("bg", "GraphEdit", make_stylebox(tree_bg_png, 4, 4, 4, 5));
theme->set_color("grid_minor", "GraphEdit", Color(1, 1, 1, 0.05));
theme->set_color("grid_major", "GraphEdit", Color(1, 1, 1, 0.2));