Merge pull request #161 from jrassa/rating-color-fix

fix default color for rating component
This commit is contained in:
Jools Wills 2017-06-14 04:16:43 +01:00 committed by GitHub
commit f46aed48bc

View file

@ -10,6 +10,7 @@ RatingComponent::RatingComponent(Window* window) : GuiComponent(window), mColorS
mValue = 0.5f;
mSize << 64 * NUM_RATING_STARS, 64;
updateVertices();
updateColors();
}
void RatingComponent::setValue(const std::string& value)