diff --git a/tools/entt/davey/davey.hpp b/tools/entt/davey/davey.hpp index 2d179e510..cd81517ff 100644 --- a/tools/entt/davey/davey.hpp +++ b/tools/entt/davey/davey.hpp @@ -196,17 +196,6 @@ template void davey(const meta_ctx &ctx, const entt::basic_registry ®istry) { ImGui::BeginTabBar("#tabs"); - if(ImGui::BeginTabItem("Storage")) { - for([[maybe_unused]] auto [id, storage]: registry.storage()) { - if(const davey_data *info = entt::resolve(ctx, storage.info()).custom(); ImGui::TreeNode(&storage.info(), "%s (%zu)", DAVEY_OR(storage), storage.size())) { - internal::present_storage(ctx, storage); - ImGui::TreePop(); - } - } - - ImGui::EndTabItem(); - } - if(ImGui::BeginTabItem("Entity")) { const auto &storage = registry.template storage(); @@ -225,6 +214,17 @@ void davey(const meta_ctx &ctx, const entt::basic_registry &r ImGui::EndTabItem(); } + if(ImGui::BeginTabItem("Storage")) { + for([[maybe_unused]] auto [id, storage]: registry.storage()) { + if(const davey_data *info = entt::resolve(ctx, storage.info()).custom(); ImGui::TreeNode(&storage.info(), "%s (%zu)", DAVEY_OR(storage), storage.size())) { + internal::present_storage(ctx, storage); + ImGui::TreePop(); + } + } + + ImGui::EndTabItem(); + } + ImGui::EndTabBar(); }