diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-16 10:23:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 10:23:15 +0100 |
commit | 3def642a156c19a786d70a1ca5e52f2f9009ff78 (patch) | |
tree | 183dc5d9b2408efb77bb943ba05f674f3979d5ec | |
parent | b6f88dae87b1d66b0f9ee1c2d6928e9f9a890cf7 (diff) | |
parent | 09ca1006587cbb2219da93adebaf610b649f1122 (diff) |
Merge pull request #15772 from godotengine/revert-15540-fix_color_to_html
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; } |