mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
Keep thumbnails of SaveButtons with lazily loaded SaveFiles
This commit is contained in:
@@ -173,9 +173,6 @@ void SaveButton::Tick(float dt)
|
|||||||
if (file && !wantsDraw && !thumbnailRenderer)
|
if (file && !wantsDraw && !thumbnailRenderer)
|
||||||
{
|
{
|
||||||
file->LazyUnload();
|
file->LazyUnload();
|
||||||
thumbnail.reset();
|
|
||||||
thumbSize = { 0, 0 };
|
|
||||||
triedThumbnail = false;
|
|
||||||
}
|
}
|
||||||
wantsDraw = false;
|
wantsDraw = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user