瀏覽代碼

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

Fix Cursor Color in the Label/RichTextLabel
Rémi Verschelde 6 年之前
父節點
當前提交
b07eab734a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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