Skip to content

Commit

Permalink
Make right align for calls number in Profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
volzhs authored and yaelatletl committed Dec 24, 2019
1 parent 46cbcfa commit f9c608c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/editor_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9c608c

Please sign in to comment.