diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-08 12:13:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 12:13:05 +0100 |
commit | 39bc758bb5381034a56709c188e27ed815114f3b (patch) | |
tree | 8dd54af1cc7c6d021120a53e36e6771ab6fc6c19 | |
parent | 15a5c975911ee1c7f4e6de387e736ac55e529cfc (diff) | |
parent | 81a5eb4d18bf04f55ed90f01a47ae68f99d38d11 (diff) |
Merge pull request #25549 from Zylann/fix_game_font_size_forced_to_13
Don't modify font which could potentially not be the editor one yet
-rw-r--r-- | editor/editor_log.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 1658f19ccc..aaca47622d 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -65,7 +65,6 @@ void EditorLog::_notification(int p_what) { } else if (p_what == NOTIFICATION_THEME_CHANGED) { 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); if (log != NULL) { log->add_font_override("normal_font", get_font("output_source", "EditorFonts")); } |