mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fixed an issue where clearing a game would randomly keep some theme elements from being rendered.
This commit is contained in:
parent
cd91eb6ec9
commit
652adc41d8
|
@ -366,6 +366,10 @@ void GuiGamelistOptions::openMetaDataEd()
|
|||
CollectionSystemsManager::get()->refreshCollectionSystems(file, true);
|
||||
|
||||
file->getSystem()->sortSystem();
|
||||
// This small delay keeps the theme extras from sometimes not being rendered while
|
||||
// the background cache is invalidated. Very strange, it must be some kind of race
|
||||
// condition or similar.
|
||||
SDL_Delay(10);
|
||||
mWindow->invalidateCachedBackground();
|
||||
|
||||
// Remove the folder entry from the gamelist.xml file.
|
||||
|
|
Loading…
Reference in a new issue