Gems/LytShine

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-02 17:55:08 -07:00
parent 061cb98f74
commit 58f1cb9b6c
41 changed files with 161 additions and 155 deletions
+2 -1
View File
@@ -162,7 +162,8 @@ namespace
}
else if (AZStd::string(key) == "color")
{
AZStd::string colorValue(string(value).Trim());
AZStd::string colorValue(value);
AZ::StringFunc::TrimWhiteSpace(colorValue, true, true);
AZStd::string::size_type ExpectedNumChars = 7;
if (ExpectedNumChars == colorValue.size() && '#' == colorValue.at(0))
{