Merge pull request #15186 from GodotExplorer/default-theme
Fix errors with custom theme and custom font in project settings.
This commit is contained in:
commit
dc2cc6bc2b
4 changed files with 47 additions and 38 deletions
|
|
@ -66,7 +66,9 @@ void EditorLog::_notification(int p_what) {
|
|||
Ref<DynamicFont> df_output_code = get_font("output_source", "EditorFonts");
|
||||
if (df_output_code.is_valid()) {
|
||||
df_output_code->set_size(int(EDITOR_DEF("run/output/font_size", 13)) * EDSCALE);
|
||||
log->add_font_override("normal_font", get_font("output_source", "EditorFonts"));
|
||||
if (log != NULL) {
|
||||
log->add_font_override("normal_font", get_font("output_source", "EditorFonts"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue