Selaa lähdekoodia

Return back spacer for non-expression nodes in visual shader

Yuri Roubinski 6 vuotta sitten
vanhempi
commit
8a0767d883
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      editor/plugins/visual_shader_editor_plugin.cpp

+ 4 - 0
editor/plugins/visual_shader_editor_plugin.cpp

@@ -604,6 +604,10 @@ void VisualShaderEditor::_update_graph() {
 					}
 				}
 
+				if (!is_group) {
+					hb->add_spacer();
+				}
+
 				if (valid_right) {
 					if (is_group) {
 						Button *remove_btn = memnew(Button);