Added asset browser tool tip that shows asset id
This commit is contained in:
parent
cdb5102630
commit
fe39be0d61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue