mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where SVG rating components would not render immediately.
This commit is contained in:
parent
652adc41d8
commit
b12a68603d
|
@ -210,7 +210,6 @@ bool RatingComponent::input(InputConfig* config, Input input)
|
|||
void RatingComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
||||
const std::string& view, const std::string& element, unsigned int properties)
|
||||
{
|
||||
GuiComponent::applyTheme(theme, view, element, properties);
|
||||
using namespace ThemeFlags;
|
||||
|
||||
const ThemeData::ThemeElement* elem = theme->getElement(view, element, "rating");
|
||||
|
@ -237,6 +236,8 @@ void RatingComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
mUnfilledColor = mColorShift;
|
||||
}
|
||||
|
||||
GuiComponent::applyTheme(theme, view, element, properties);
|
||||
|
||||
if (imgChanged)
|
||||
onSizeChanged();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue