Inspector: remove dup 0x prefix for object address

This commit is contained in:
Deal 2023-09-13 20:42:49 +08:00 committed by GitHub
parent 54db10874f
commit f4c3556039
1 changed files with 2 additions and 2 deletions

View File

@ -199,11 +199,11 @@ void Inspector::drawProperties()
// ImGui::EndPopup(); // ImGui::EndPopup();
//} //}
ImGui::Text("Addr: 0x%p", _selected_node); ImGui::Text("Addr: %p", _selected_node);
if (auto userData = _selected_node->getUserData(); userData) if (auto userData = _selected_node->getUserData(); userData)
{ {
ImGui::SameLine(); ImGui::SameLine();
ImGui::Text("User data: 0x%p", userData); ImGui::Text("User data: %p", userData);
} }
auto pos = _selected_node->getPosition(); auto pos = _selected_node->getPosition();