Bläddra i källkod

Fix cursor color in Label/RTL in editor

Fixes #26246.

(cherry picked from commit d179cbc3c2090c32c42dc5b1313a8f8b554f3b12)
Mariam Naiga 6 år sedan
förälder
incheckning
7851d828a2
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      editor/editor_themes.cpp

+ 1 - 1
editor/editor_themes.cpp

@@ -834,7 +834,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