Revert "Fix bad color to HTML conversion. Alpha channel was added before RGB."

This commit is contained in:
Rémi Verschelde 2018-01-16 10:22:22 +01:00 committed by GitHub
parent b6f88dae87
commit 09ca100658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,7 +396,7 @@ String Color::to_html(bool p_alpha) const {
txt += _to_hex(g);
txt += _to_hex(b);
if (p_alpha)
txt += _to_hex(a);
txt = _to_hex(a) + txt;
return txt;
}