Correct color assignment
As per request
This commit is contained in:
parent
fea198551e
commit
ec9b2fb2c7
1 changed files with 1 additions and 2 deletions
|
@ -394,8 +394,7 @@ void Builder::color_alpha(std::string alpha_)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (alpha.size() == 4) {
|
if (alpha.size() == 4) {
|
||||||
// If alpha looks like #123 then we treat as a color and ignore the fg color
|
this->color(alpha);
|
||||||
this->color(alpha + alpha.substr(1));
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue