mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-01 18:45:39 +00:00
Fixed an issue where the origin property did not work correctly for scrollable text containers.
This commit is contained in:
parent
7e892a7855
commit
bee9cf0623
|
@ -258,7 +258,7 @@ void GamelistView::onThemeChanged(const std::shared_ptr<ThemeData>& theme)
|
||||||
mContainerComponents.back()->getSize().x, 0.0f);
|
mContainerComponents.back()->getSize().x, 0.0f);
|
||||||
mContainerTextComponents.back()->applyTheme(
|
mContainerTextComponents.back()->applyTheme(
|
||||||
theme, "gamelist", element.first,
|
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() != "")
|
if (mContainerTextComponents.back()->getThemeMetadata() != "")
|
||||||
mContainerComponents.back()->setScrollHide(true);
|
mContainerComponents.back()->setScrollHide(true);
|
||||||
else if (mContainerTextComponents.back()->getMetadataElement())
|
else if (mContainerTextComponents.back()->getMetadataElement())
|
||||||
|
|
Loading…
Reference in a new issue