summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-18 00:44:45 +0200
committerGitHub <noreply@github.com>2016-07-18 00:44:45 +0200
commit3183834c5d5dd27e1be4f581c0fe1a8bef3c4a6e (patch)
tree46abac2d3fffeddd52548d09b44d4a1cbe6a7bda /scene/resources
parent523e46ad0a915364de92d209ae59be14fbb3a7a4 (diff)
parent20c7f2bded2ed4cd30eb6e0c22b1e2605a59500d (diff)
Merge pull request #5657 from Paulb23/block_caret
Added block caret to TextEdit
Diffstat (limited to 'scene/resources')
-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 182bc5dabc..ffc5232e8f 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"));