mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Started code path for prefab thumbnails
This commit is contained in:
@@ -353,6 +353,10 @@ namespace Nuake
|
||||
{
|
||||
textureImage = textureMgr->GetTexture("Resources/Images/Audio_file_icon.png");
|
||||
}
|
||||
else if (fileType == FileType::Prefab)
|
||||
{
|
||||
textureImage = ThumbnailManager::Get().GetThumbnail(file->GetRelativePath());
|
||||
}
|
||||
|
||||
ImGui::SetCursorPos(prevCursor);
|
||||
ImGui::Image(reinterpret_cast<ImTextureID>(textureImage->GetID()), ImVec2(100, 100), ImVec2(0, 1), ImVec2(1, 0));
|
||||
|
||||
Reference in New Issue
Block a user