diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-16 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 10:22:22 +0100 |
commit | 09ca1006587cbb2219da93adebaf610b649f1122 (patch) | |
tree | 183dc5d9b2408efb77bb943ba05f674f3979d5ec | |
parent | b6f88dae87b1d66b0f9ee1c2d6928e9f9a890cf7 (diff) |
Revert "Fix bad color to HTML conversion. Alpha channel was added before RGB."
-rw-r--r-- | core/color.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp index b708f15d69..a0568d26ed 100644 --- a/core/color.cpp +++ b/core/color.cpp @@ -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; } |