Browse Source

Merge pull request #33065 from Calinou/textedit-fix-background-color

Fix the default TextEdit background color
Rémi Verschelde 5 years ago
parent
commit
6ce35e176f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/default_theme/default_theme.cpp

+ 1 - 1
scene/resources/default_theme/default_theme.cpp

@@ -432,7 +432,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
 
 	theme->set_font("font", "TextEdit", default_font);
 
-	theme->set_color("background_color", "TextEdit", Color(0, 0, 0));
+	theme->set_color("background_color", "TextEdit", Color(0, 0, 0, 0));
 	theme->set_color("completion_background_color", "TextEdit", Color(0.17, 0.16, 0.2));
 	theme->set_color("completion_selected_color", "TextEdit", Color(0.26, 0.26, 0.27));
 	theme->set_color("completion_existing_color", "TextEdit", Color(0.87, 0.87, 0.87, 0.13));