1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

keep font color on selection as default

This commit is contained in:
toger5
2017-09-27 19:24:05 +02:00
parent 3d06957f12
commit d58a159e38
6 changed files with 42 additions and 7 deletions

View File

@@ -1903,5 +1903,6 @@ EditorHelpBit::EditorHelpBit() {
rich_text->set_area_as_parent_rect();
rich_text->connect("meta_clicked", this, "_meta_clicked");
rich_text->add_color_override("selection_color", EDITOR_DEF("text_editor/highlighting/selection_color", Color(0.2, 0.2, 1)));
rich_text->set_override_selected_font_color(false);
set_custom_minimum_size(Size2(0, 70 * EDSCALE));
}