Debugger: pad with zeroes timing values
This commit is contained in:
parent
077c9553b5
commit
8822c9d5db
|
@ -70,7 +70,7 @@ void BehaviorTreeView::update_tree(const BehaviorTreeData &p_data) {
|
|||
item->set_metadata(0, task_data.id);
|
||||
item->set_text(0, task_data.name);
|
||||
item->set_icon(0, LimboUtility::get_singleton()->get_task_icon(task_data.type_name));
|
||||
item->set_text(2, rtos(Math::snapped(task_data.elapsed_time, 0.01)));
|
||||
item->set_text(2, rtos(Math::snapped(task_data.elapsed_time, 0.01)).pad_decimals(2));
|
||||
|
||||
if (task_data.status == BTTask::SUCCESS) {
|
||||
item->set_custom_draw(0, this, SNAME("_draw_success_status"));
|
||||
|
|
Loading…
Reference in New Issue