Keep thumbnails of SaveButtons with lazily loaded SaveFiles

This commit is contained in:
Tamás Bálint Misius 2022-12-18 10:38:37 +01:00
parent 5ae7755025
commit 9e2185c8a2
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -173,9 +173,6 @@ void SaveButton::Tick(float dt)
if (file && !wantsDraw && !thumbnailRenderer)
{
file->LazyUnload();
thumbnail.reset();
thumbSize = { 0, 0 };
triedThumbnail = false;
}
wantsDraw = false;
}