Explorar o código

Don't modify font which could potentially not be the editor one yet

Marc Gilleron %!s(int64=6) %!d(string=hai) anos
pai
achega
81a5eb4d18
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      editor/editor_log.cpp

+ 0 - 1
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"));
 			}