1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix warnings and error panel font not updating

This commit is contained in:
kit
2025-11-01 15:19:35 -04:00
parent 0fdbf050e0
commit 4e22eddb3c
2 changed files with 0 additions and 15 deletions

View File

@@ -364,13 +364,6 @@ void ShaderTextEditor::_load_theme_settings() {
// Colorize preprocessor include strings.
const Color string_color = EDITOR_GET("text_editor/theme/highlighting/string_color");
syntax_highlighter->add_color_region("\"", "\"", string_color, false);
if (warnings_panel) {
// Warnings panel.
warnings_panel->add_theme_font_override("normal_font", EditorNode::get_singleton()->get_editor_theme()->get_font(SNAME("main"), EditorStringName(EditorFonts)));
warnings_panel->add_theme_font_size_override("normal_font_size", EditorNode::get_singleton()->get_editor_theme()->get_font_size(SNAME("main_size"), EditorStringName(EditorFonts)));
}
syntax_highlighter->set_uint_suffix_enabled(true);
}