summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2019-11-14 09:38:53 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2019-11-14 09:44:53 +0300
commitfacfae36713372cde930598d0993c535ff6ac324 (patch)
treed44d2bc3a85e2974be821c3399331442180c7d39 /editor/editor_help.cpp
parent14e52f7aeea449dc6cfa8861657b2e23cc34c560 (diff)
downloadredot-engine-facfae36713372cde930598d0993c535ff6ac324.tar.gz
Fix "matches" label color in light theme
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index dd49e38d7f..cf54847922 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -1802,7 +1802,7 @@ void FindBar::_update_matches_label() {
} else {
matches_label->show();
- matches_label->add_color_override("font_color", results_count > 0 ? Color(1, 1, 1) : EditorNode::get_singleton()->get_gui_base()->get_color("error_color", "Editor"));
+ matches_label->add_color_override("font_color", results_count > 0 ? get_color("font_color", "Label") : get_color("error_color", "Editor"));
matches_label->set_text(vformat(results_count == 1 ? TTR("%d match.") : TTR("%d matches."), results_count));
}
}