소스 검색

Use a bold font for section titles in the editor performance monitor

Hugo Locurcio 2 년 전
부모
커밋
a13cdfe096
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/debugger/editor_performance_profiler.cpp

+ 1 - 0
editor/debugger/editor_performance_profiler.cpp

@@ -234,6 +234,7 @@ TreeItem *EditorPerformanceProfiler::_get_monitor_base(const StringName &p_base_
 	base->set_editable(0, false);
 	base->set_selectable(0, false);
 	base->set_expand_right(0, true);
+	base->set_custom_font(0, get_theme_font(SNAME("bold"), SNAME("EditorFonts")));
 	base_map.insert(p_base_name, base);
 	return base;
 }