Forráskód Böngészése

Fix cursor color in Label/RTL in editor

Fixes #26246.
Mariam Naiga 6 éve
szülő
commit
d179cbc3c2
1 módosított fájl, 1 hozzáadás és 1 törlés
  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