mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Merge pull request #161 from jrassa/rating-color-fix
fix default color for rating component
This commit is contained in:
commit
f46aed48bc
|
@ -10,6 +10,7 @@ RatingComponent::RatingComponent(Window* window) : GuiComponent(window), mColorS
|
||||||
mValue = 0.5f;
|
mValue = 0.5f;
|
||||||
mSize << 64 * NUM_RATING_STARS, 64;
|
mSize << 64 * NUM_RATING_STARS, 64;
|
||||||
updateVertices();
|
updateVertices();
|
||||||
|
updateColors();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RatingComponent::setValue(const std::string& value)
|
void RatingComponent::setValue(const std::string& value)
|
||||||
|
|
Loading…
Reference in a new issue