[fix] fix thumbnail order by using std::vector instead of std::unordered_map

This commit is contained in:
dijunkun
2025-07-23 16:38:29 +08:00
parent 1327b995f2
commit 147b9b2ddc
5 changed files with 34 additions and 31 deletions

View File

@@ -277,7 +277,7 @@ class Render {
std::unique_ptr<Thumbnail> thumbnail_;
// recent connections
std::unordered_map<std::string, Thumbnail::RecentConnection>
std::vector<std::pair<std::string, Thumbnail::RecentConnection>>
recent_connections_;
int recent_connection_image_width_ = 160;
int recent_connection_image_height_ = 90;