|
@@ -328,7 +328,7 @@ void FindReplaceBar::_update_matches_label() {
|
|
} else {
|
|
} else {
|
|
matches_label->show();
|
|
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));
|
|
matches_label->set_text(vformat(results_count == 1 ? TTR("%d match.") : TTR("%d matches."), results_count));
|
|
}
|
|
}
|
|
}
|
|
}
|