summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-14 10:54:59 +0100
committerGitHub <noreply@github.com>2019-11-14 10:54:59 +0100
commita1c396e55cbab681740e8d743fe16178eae0f643 (patch)
treee046580307294338c7ba4777ec94e43d1ad8ed14 /editor/code_editor.cpp
parent9d12b0f9580f5e008ec3befb7015df0306d46da4 (diff)
parentfacfae36713372cde930598d0993c535ff6ac324 (diff)
downloadredot-engine-a1c396e55cbab681740e8d743fe16178eae0f643.tar.gz
Merge pull request #33614 from Chaosus/fix_theme_element
Fix "matches" label color in light theme
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 1a821ddd02..7d47568c41 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -328,7 +328,7 @@ void FindReplaceBar::_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));
}
}