aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/default_theme.cpp
diff options
context:
space:
mode:
authorPaulb232016-07-12 16:07:17 +0100
committerPaulb232016-07-12 16:07:17 +0100
commit54f720ac0688cc069e5ab7c2d66d2e8649143b75 (patch)
tree882fbff3e4a9c35dd493f61e0a49e84cc1f9526c /scene/resources/default_theme/default_theme.cpp
parent5545afd52b912722bbdb6e412cce9593857c5726 (diff)
downloadgodot-54f720ac0688cc069e5ab7c2d66d2e8649143b75.tar.gz
godot-54f720ac0688cc069e5ab7c2d66d2e8649143b75.tar.zst
godot-54f720ac0688cc069e5ab7c2d66d2e8649143b75.zip
Added block caret to TextEdit
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r--scene/resources/default_theme/default_theme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 182bc5dab..ffc5232e8 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -481,6 +481,7 @@ void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<F
t->set_color("breakpoint_color","TextEdit", Color(0.8,0.8,0.4,0.2) );
t->set_color("current_line_color","TextEdit", Color(0.25,0.25,0.26,0.8) );
t->set_color("caret_color","TextEdit", control_font_color );
+ t->set_color("caret_background_color", "TextEdit", Color::html("000000"));
t->set_color("symbol_color","TextEdit", control_font_color_hover );
t->set_color("brace_mismatch_color","TextEdit", Color(1,0.2,0.2) );
t->set_color("line_number_color","TextEdit",Color::html("66aaaaaa"));