Pārlūkot izejas kodu

Merge pull request #26431 from Chaosus/error_font_update

Updates error label font in script's status bar
Rémi Verschelde 6 gadi atpakaļ
vecāks
revīzija
3baa499a9c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      editor/code_editor.cpp

+ 1 - 0
editor/code_editor.cpp

@@ -1144,6 +1144,7 @@ void CodeTextEditor::_update_font() {
 	text_editor->add_font_override("font", get_font("source", "EditorFonts"));
 
 	Ref<Font> status_bar_font = get_font("status_source", "EditorFonts");
+	error->add_font_override("font", status_bar_font);
 	int count = status_bar->get_child_count();
 	for (int i = 0; i < count; i++) {
 		Control *n = Object::cast_to<Control>(status_bar->get_child(i));