mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Small change to two RatingComponent theme log warnings
This commit is contained in:
parent
ad68629656
commit
de905babf0
|
@ -195,7 +195,7 @@ void RatingComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
if (elem->has("size")) {
|
||||
glm::vec2 ratingSize {elem->get<glm::vec2>("size")};
|
||||
if (ratingSize == glm::vec2 {0.0f, 0.0f}) {
|
||||
LOG(LogWarning) << "RatingComponent: Invalid theme configuration, property <size> "
|
||||
LOG(LogWarning) << "RatingComponent: Invalid theme configuration, property \"size\" "
|
||||
"for element \""
|
||||
<< element.substr(7) << "\" is set to zero";
|
||||
ratingSize.y = 0.06f;
|
||||
|
@ -241,7 +241,7 @@ void RatingComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
|||
linearInterpolation = false;
|
||||
|
||||
LOG(LogWarning)
|
||||
<< "RatingComponent: Invalid theme configuration, property <interpolation> "
|
||||
<< "RatingComponent: Invalid theme configuration, property \"interpolation\" "
|
||||
"for element \""
|
||||
<< element.substr(7) << "\" defined as \"" << interpolation << "\"";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue