mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
actually technically that last one didn't match og behaviour even
This commit is contained in:
parent
8de28d1e2a
commit
a533b5f51a
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ Result<ccColor3B> colorForIdentifier(std::string const& tag) {
|
|||
}
|
||||
// Support the old form of <carbitaryletters hex>
|
||||
else if (tag.find(' ') != std::string::npos) {
|
||||
return cc3bFromHexString(tag.substr(tag.find(' ') + 1));
|
||||
return cc3bFromHexString(string::trim(tag.substr(tag.find(' ') + 1)));
|
||||
}
|
||||
else {
|
||||
auto colorText = tag.substr(1);
|
||||
|
|
Loading…
Reference in a new issue