mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix incorrect error label color when switching from light to dark theme
This commit is contained in:
parent
a1c396e55c
commit
0ec76d40b4
2 changed files with 6 additions and 2 deletions
|
@ -1716,6 +1716,7 @@ void FindBar::_notification(int p_what) {
|
|||
hide_button->set_hover_texture(get_icon("Close", "EditorIcons"));
|
||||
hide_button->set_pressed_texture(get_icon("Close", "EditorIcons"));
|
||||
hide_button->set_custom_minimum_size(hide_button->get_normal_texture()->get_size());
|
||||
matches_label->add_color_override("font_color", results_count > 0 ? get_color("font_color", "Label") : get_color("error_color", "Editor"));
|
||||
} break;
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue