浏览代码

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;
 }