Browse Source

Merge pull request #27660 from cse2410-team2/Issue#26246

Fix Cursor Color in the Label/RichTextLabel
Rémi Verschelde 6 years ago
parent
commit
b07eab734a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_themes.cpp

+ 1 - 1
editor/editor_themes.cpp

@@ -832,7 +832,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
 	theme->set_constant("side_margin", "TabContainer", 0);
 	theme->set_icon("tab", "TextEdit", theme->get_icon("GuiTab", "EditorIcons"));
 	theme->set_color("font_color", "TextEdit", font_color);
-	theme->set_color("caret_color", "TextEdit", highlight_color);
+	theme->set_color("caret_color", "TextEdit", font_color);
 	theme->set_color("selection_color", "TextEdit", font_color_selection);
 
 	// H/VSplitContainer