mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where scrollable container properties had no effect unless the container property was explicitly set to true.
This commit is contained in:
parent
8408428f61
commit
b8c3303f80
|
@ -98,7 +98,7 @@ void ScrollableContainer::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
GuiComponent::applyTheme(theme, view, element, properties);
|
||||
|
||||
const ThemeData::ThemeElement* elem {theme->getElement(view, element, "text")};
|
||||
if (!elem || !elem->has("container"))
|
||||
if (!elem)
|
||||
return;
|
||||
|
||||
if (elem->has("containerVerticalSnap"))
|
||||
|
|
Loading…
Reference in a new issue