Added asset browser tool tip that shows asset id #313

Merged
maverickdgg merged 2 commits from SP3-20-UI-System into main 2023-01-16 15:39:50 +08:00
1 changed files with 7 additions and 0 deletions

View File

@ -262,6 +262,13 @@ namespace SHADE
}
}
if (ImGui::IsItemHovered())
{
ImGui::BeginTooltip();
ImGui::Text("AssetID: %zu | Path: %s", asset->id, asset->path.c_str());
ImGui::EndTooltip();
}
//TODO: Combine Draw asset and Draw Folder recursive drawing
const ImColor treeLineColor = ImGui::GetColorU32(ImGuiCol_CheckMark);
const float horizontalOffset = 0.0f;