Correct color assignment

As per request
This commit is contained in:
patrick96 2016-08-31 18:34:27 +02:00 committed by Michael Carlberg
parent fea198551e
commit ec9b2fb2c7

View file

@ -394,8 +394,7 @@ void Builder::color_alpha(std::string alpha_)
}
if (alpha.size() == 4) {
// If alpha looks like #123 then we treat as a color and ignore the fg color
this->color(alpha + alpha.substr(1));
this->color(alpha);
return;
}