mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25: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")) {
|
if (elem->has("size")) {
|
||||||
glm::vec2 ratingSize {elem->get<glm::vec2>("size")};
|
glm::vec2 ratingSize {elem->get<glm::vec2>("size")};
|
||||||
if (ratingSize == glm::vec2 {0.0f, 0.0f}) {
|
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 \""
|
"for element \""
|
||||||
<< element.substr(7) << "\" is set to zero";
|
<< element.substr(7) << "\" is set to zero";
|
||||||
ratingSize.y = 0.06f;
|
ratingSize.y = 0.06f;
|
||||||
|
@ -241,7 +241,7 @@ void RatingComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
||||||
linearInterpolation = false;
|
linearInterpolation = false;
|
||||||
|
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "RatingComponent: Invalid theme configuration, property <interpolation> "
|
<< "RatingComponent: Invalid theme configuration, property \"interpolation\" "
|
||||||
"for element \""
|
"for element \""
|
||||||
<< element.substr(7) << "\" defined as \"" << interpolation << "\"";
|
<< element.substr(7) << "\" defined as \"" << interpolation << "\"";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue