summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-11-11 19:32:56 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-11-11 19:34:13 +0100
commita13cdfe096ec0558e6b0ecfc0d2500f0d0165c3f (patch)
treeb32cd36bd417721610d1c857435b2b8de86d1869
parent340fb33e543fb5775e36a7d49d605b4e3a33e5d6 (diff)
Use a bold font for section titles in the editor performance monitor
-rw-r--r--editor/debugger/editor_performance_profiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/debugger/editor_performance_profiler.cpp b/editor/debugger/editor_performance_profiler.cpp
index e2fd462f3a..071eb583c0 100644
--- a/editor/debugger/editor_performance_profiler.cpp
+++ b/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;
}