diff options
author | toger5 <toger5@hotmail.de> | 2017-09-05 01:10:04 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-09-05 01:10:04 +0200 |
commit | 18917ad1d642a3fd7d187b9e90af92cdb829285a (patch) | |
tree | 7de08b3deba96f556b2ab81166d92a68dc942fc0 /editor | |
parent | 27feafbe126cbc39fbb1a44a70b62bbfa8b8fa73 (diff) | |
download | redot-engine-18917ad1d642a3fd7d187b9e90af92cdb829285a.tar.gz |
fixed log colors
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_log.cpp | 3 | ||||
-rw-r--r-- | editor/editor_themes.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index a1f416a17c..35291f8f9e 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -59,7 +59,6 @@ void EditorLog::_notification(int p_what) { if (p_what == NOTIFICATION_ENTER_TREE) { - log->add_color_override("default_color", get_color("font_color", "Tree")); //button->set_icon(get_icon("Console","EditorIcons")); } if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) { @@ -91,7 +90,7 @@ void EditorLog::add_message(const String &p_msg, bool p_error) { log->add_newline(); if (p_error) { - log->push_color(get_color("fg_error", "Editor")); + log->push_color(get_color("error_color", "Editor")); Ref<Texture> icon = get_icon("Error", "EditorIcons"); log->add_image(icon); //button->set_icon(icon); diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 1a7ee0e970..19356aad3a 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -466,8 +466,6 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_color("prop_category", "Editor", prop_category_color); theme->set_color("prop_section", "Editor", prop_section_color); theme->set_color("prop_subsection", "Editor", prop_subsection_color); - theme->set_color("fg_selected", "Editor", HIGHLIGHT_COLOR_BG); - theme->set_color("fg_error", "Editor", error_color); theme->set_color("drop_position_color", "Tree", highlight_color); // ItemList |