From bee9cf06231243c210438c058d5bcbf197407be8 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 16 Sep 2022 18:52:53 +0200 Subject: [PATCH] Fixed an issue where the origin property did not work correctly for scrollable text containers. --- es-app/src/views/GamelistView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/views/GamelistView.cpp b/es-app/src/views/GamelistView.cpp index 18affb39f..13c14e995 100644 --- a/es-app/src/views/GamelistView.cpp +++ b/es-app/src/views/GamelistView.cpp @@ -258,7 +258,7 @@ void GamelistView::onThemeChanged(const std::shared_ptr& theme) mContainerComponents.back()->getSize().x, 0.0f); mContainerTextComponents.back()->applyTheme( theme, "gamelist", element.first, - ALL ^ POSITION ^ Z_INDEX ^ ThemeFlags::SIZE ^ VISIBLE ^ ROTATION); + ALL ^ POSITION ^ ORIGIN ^ Z_INDEX ^ ThemeFlags::SIZE ^ VISIBLE ^ ROTATION); if (mContainerTextComponents.back()->getThemeMetadata() != "") mContainerComponents.back()->setScrollHide(true); else if (mContainerTextComponents.back()->getMetadataElement())