From d6df68e31067b702df75b77f050285c49e12ccb3 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 24 Sep 2022 23:20:28 +0200 Subject: [PATCH] Fixed an issue where the game description would not scroll in the scraper GUI. --- es-app/src/guis/GuiScraperSearch.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index c814d3066..a09bdf55c 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -52,6 +52,8 @@ GuiScraperSearch::GuiScraperSearch(SearchType type, unsigned int scrapeCount) mRetrySearch = false; mRetryCount = 0; + mWindow->setAllowTextScrolling(true); + // Left spacer (empty component, needed for borders). mGrid.setEntry(std::make_shared(), glm::ivec2 {0, 0}, false, false, glm::ivec2 {1, 3}, GridFlags::BORDER_TOP | GridFlags::BORDER_BOTTOM); @@ -168,6 +170,8 @@ GuiScraperSearch::~GuiScraperSearch() TextureResource::manualUnload(mLastSearch.game->getMiximagePath(), false); ViewController::getInstance()->onFileChanged(mLastSearch.game, true); } + + mWindow->setAllowTextScrolling(false); } void GuiScraperSearch::onSizeChanged()