summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-11 21:05:42 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-11 21:05:42 +0100
commit4004f3f72ecbf0887aeee20acb8c2b9b97f64ab8 (patch)
tree7b4ab8ce10d537f2843f7f881dbe8677d8939a71
parent6f92746101681dc5ee414c7ed4f781b199623f86 (diff)
parenta13cdfe096ec0558e6b0ecfc0d2500f0d0165c3f (diff)
Merge pull request #68537 from Calinou/editor-performance-monitor-section-bold-font
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;
}