Fixed an issue where the game description would start to scroll too late when running the multi-scraper in semi-automatic mode.

This commit is contained in:
Leon Styhre 2022-09-24 23:24:33 +02:00
parent d6df68e310
commit 748969e34d

View file

@ -70,7 +70,7 @@ GuiScraperSearch::GuiScraperSearch(SearchType type, unsigned int scrapeCount)
mDescContainer = std::make_shared<ScrollableContainer>(); mDescContainer = std::make_shared<ScrollableContainer>();
// Adjust the game description text scrolling parameters depending on the search type. // Adjust the game description text scrolling parameters depending on the search type.
if (mSearchType == NEVER_AUTO_ACCEPT) if (mSearchType == NEVER_AUTO_ACCEPT || mSearchType == ACCEPT_SINGLE_MATCHES)
mDescContainer->setScrollParameters(3000.0f, 3000.0f, 0.8f); mDescContainer->setScrollParameters(3000.0f, 3000.0f, 0.8f);
else else
mDescContainer->setScrollParameters(6000.0f, 3000.0f, 0.8f); mDescContainer->setScrollParameters(6000.0f, 3000.0f, 0.8f);