Skip to content

Commit

Permalink
actually technically that last one didn't match og behaviour even
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Jul 29, 2024
1 parent 8de28d1 commit a533b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/ui/nodes/MDTextArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a533b5f

Please sign in to comment.