Improve project panel image previews

This commit is contained in:
2026-03-30 01:46:49 +08:00
parent 416aa72194
commit b489492af0
4 changed files with 475 additions and 40 deletions

View File

@@ -12,10 +12,13 @@ struct AssetItem {
std::string type;
bool isFolder;
std::string fullPath;
std::string extensionLower;
bool isImageAsset = false;
bool canUseImagePreview = false;
std::vector<std::shared_ptr<AssetItem>> children;
};
using AssetItemPtr = std::shared_ptr<AssetItem>;
}
}
}