Browse Source

Merge pull request #33196 from conankzhang/fix-theme-typo

Fix a constant name typo for GridContainer when creating an editor theme.
Rémi Verschelde 5 years ago
parent
commit
aa96481c8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_themes.cpp

+ 1 - 1
editor/editor_themes.cpp

@@ -1089,7 +1089,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
 	theme->set_icon("port", "GraphNode", theme->get_icon("GuiGraphNodePort", "EditorIcons"));
 
 	// GridContainer
-	theme->set_constant("vseperation", "GridContainer", (extra_spacing + default_margin_size) * EDSCALE);
+	theme->set_constant("vseparation", "GridContainer", (extra_spacing + default_margin_size) * EDSCALE);
 
 	// FileDialog
 	theme->set_icon("folder", "FileDialog", theme->get_icon("Folder", "EditorIcons"));