Make right align for calls number in Profiler

This commit is contained in:
volzhs 2019-12-18 16:16:22 +09:00
parent 7d34d1a85f
commit 7dff2a9167

View File

@ -397,6 +397,7 @@ void EditorProfiler::_update_frame() {
item->set_metadata(0, it.signature);
item->set_metadata(1, it.script);
item->set_metadata(2, it.line);
item->set_text_align(2, TreeItem::ALIGN_RIGHT);
item->set_tooltip(0, it.script + ":" + itos(it.line));
float time = dtime == DISPLAY_SELF_TIME ? it.self : it.total;